Commit Graph

5797 Commits

Author SHA1 Message Date
Thomas Schatzl
ba4a04aa05 8069760: When iterating over a card, G1 often iterates over much more references than are contained in the card
Properly bound the iteration work for objArray-oops.

Reviewed-by: mgerdin, kbarrett
2015-02-02 10:38:39 +01:00
Jiangli Zhou
dc9bb3c201 8071962: The SA code needs to be updated to support Symbol lookup from the shared archive
Support shared symbols lookup.

Reviewed-by: minqi, sspitsyn, dsamersoff, iklam
2015-01-30 20:31:05 -05:00
Alejandro Murillo
e9af52deeb Merge 2015-01-30 16:56:05 -08:00
Yumin Qi
07acd9a05e Merge 2015-01-30 10:52:25 -08:00
Roland Westrelin
43bcdf4017 8071533: assert(n0->is_Call()) failed: expect a call here
Remove_dead_region() call missing from ArrayCopyNode::Ideal()

Reviewed-by: kvn, vlivanov
2015-01-30 15:23:41 +01:00
Zoltan Majo
a25fe37e17 8072398: assert fails in L1RGenerator::increment_event_counter_impl
Change scaling code to allow scaling with 0.0; change set_tiered_flags() to treat CompileThresholdScaling==0.0 in a special way.

Reviewed-by: kvn, iveresov
2015-02-06 18:16:55 +01:00
Goetz Lindenmaier
d4d8ef4585 8071996: split_if accesses NULL region of ConstraintCast
Reviewed-by: kvn
2015-01-30 12:53:56 +01:00
Dean Long
5b196d9525 Merge 2015-01-31 02:42:13 -05:00
Vladimir Kozlov
1e85e321f9 8071534: assert(!failing()) failed: Must not have pending failure. Reason is: out of memory
Add missing C->failing() check after Connection graph construction.

Reviewed-by: iveresov
2015-01-30 10:27:50 -08:00
Tobias Hartmann
7d34206cdb Merge 2015-01-30 13:31:54 +00:00
Zoltan Majo
883d349e17 8071818: Incorrect addressing mode used for ldf in SPARC assembler
Update MacroAssembler::ldf to select addressing mode depending on Address parameter.

Reviewed-by: kvn, dlong
2015-01-30 10:40:08 +01:00
Coleen Phillimore
d57245dcbb 8049632: JDK 1.8.0 b132 :Linux x64 : Crash in ClassFileParser::copy_localvariable_table(..)
Use resource allocated hashtable for local variable table checking

Reviewed-by: kamg, sspitsyn
2015-01-29 14:37:14 -05:00
Vladimir Ivanov
efd80ec6af 8068915: uncommon trap w/ Reason_speculate_class_check causes performance regression due to continuous deoptimizations
Reviewed-by: kvn, roland, jrose
2015-01-29 10:26:02 -08:00
Vladimir Ivanov
7227e9ba53 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:25:59 -08:00
Zoltan Majo
49282c3927 8071654: disassembler handles embedded OOPs not uniformly
Remove (currently dead) code that prints oops within disassembled instructions.

Reviewed-by: kvn, thartmann, roland
2015-01-29 19:16:47 +01:00
Serguei Spitsyn
8be0bb5458 8008678: JSR 292: constant pool reconstitution must support pseudo strings
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.

Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Kim Barrett
1a1ddd0d4b 8068942: Improve validation of -XX:G1ConfidencePercent value
Validate during argument processing and simplify usage by assuming validated.

Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05:00
Claes Redestad
155c09ca6b 8069273: Decrease Hot Card Cache Lock contention
Reviewed-by: tschatzl, mgerdin
2015-01-29 15:05:25 +01:00
Yumin Qi
49d48d3c4a Merge 2015-01-29 03:54:44 +00:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Tobias Hartmann
ad9c86bc97 8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34
Aligning code heap sizes to large page size if supported.

Reviewed-by: kvn, anoll
2015-01-28 07:55:27 +01:00
Yumin Qi
3bbda04f98 Merge 2015-01-27 20:02:35 -08:00
Dean Long
fb0b5b0159 Merge 2015-01-27 13:58:55 -05:00
Joseph Provino
3bd08574dc 8064947: Clean up BarrierSet ctor/dtor
Make abstract base call contructors protected and require a "kind" argument.

Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Alejandro Murillo
1f33087085 Merge 2015-01-27 10:11:22 -08:00
Christian Tornqvist
fa47cc3e21 8071530: Update OS detection code to reflect Windows 10 version change
Reviewed-by: sla, mgronlun
2015-01-27 05:51:00 -08:00
Serguei Spitsyn
4326ee324a 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined

Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08:00
Zoltan Majo
1da8218179 8071312: compiler/arguments/CheckCompileThresholdScaling.java fails
Change the way VM handles CompileThresholdScaling==0, update test

Reviewed-by: kvn, drchase, fzhinkin
2015-01-26 10:43:42 +01:00
Alejandro Murillo
bbd13b5561 Merge 2015-01-22 22:42:31 -08:00
Dean Long
eb08f7cb70 Merge 2015-01-22 18:23:54 -05:00
Igor Veresov
903cbcb4df 8071302: assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo], def)) failed: after block local
Add merge nodes to node to block mapping

Reviewed-by: kvn, vlivanov
2015-01-22 11:25:23 -08:00
Jesper Wilhelmsson
2d461b2a76 Merge 2015-01-22 12:26:26 +01:00
Nils Eliasson
a43e328b4a 8069035: compiler/oracle/CheckCompileCommandOption.java nightly failure
Fixed whitespace handling and added test cases

Reviewed-by: kvn, anoll, zmajo
2015-01-22 11:23:13 +01:00
Nils Eliasson
01ec695002 8069389: CompilerOracle prefix wildcarding is broken for long strings
Replace strcpy with memmove

Reviewed-by: kvn
2015-01-22 11:05:14 +01:00
Tobias Hartmann
21e2e5ffc0 8069580: String intrinsic related cleanups
Small cleanup of string intrinsic related code.

Reviewed-by: kvn, roland
2015-01-22 09:07:41 +01:00
Kim Barrett
826e1b9739 8069230: Remove unused G1PostBarrierStub::byte_map_base and friends
Reviewed-by: brutisso, tschatzl
2015-01-21 19:36:18 +01:00
Zoltan Majo
e559c17954 8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level

Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Igor Veresov
aca3a19f56 8068881: SIGBUS in C2 compiled method weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory$SimulatedWsdlDefinitions.<init>
Use MachMerge to hook together defs of the same multidef value in a block

Reviewed-by: kvn, vlivanov
2015-01-19 12:29:50 -08:00
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Tobias Hartmann
e40b9593ca Merge 2015-01-19 11:35:45 +00:00
Ivan Gerasimov
878f630fe0 8069048: (process) Suspend finishing threads when process exits [win]
Reviewed-by: dholmes, dcubed
2015-01-19 11:35:15 +03:00
Zoltan Majo
eb5be4c2fe 8066312: Add new Node* Node::find_out(int opc) method
Added methods find_user_with() and has_user_with() for searching for a particular out type.

Reviewed-by: kvn, jrose
2015-01-19 09:32:40 +01:00
Yumin Qi
08c8e0bd31 Merge 2015-01-18 11:49:22 -08:00
Kevin Walls
3d112a8dc3 8035938: Memory leak in JvmtiEnv::GetConstantPool
Reviewed-by: sspitsyn, dcubed
2015-01-16 21:28:02 +00:00
Erik Helin
759740976b 8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Axel Siebenborn
0520df8a92 8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Dean Long
2bd7efd60e Merge 2015-01-16 05:02:11 -05:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Jungwoo Ha
788b0d89f8 8061259: ParNew promotion failed is serialized on a lock
Reviewed-by: kbarrett, brutisso
2015-01-16 09:40:13 +01:00
Andrew Haley
781a793ed9 6584008: jvmtiStringPrimitiveCallback should not be invoked when string value is null
Reviewed-by: sla, sspitsyn
2015-01-16 09:15:22 +01:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
Jesper Wilhelmsson
9a011ee40a Merge 2015-01-15 14:36:15 +01:00
Paul Sandoz
582c3c193b Merge 2015-01-15 12:43:14 +00:00
Dmitry Samersoff
1e02ce5071 Merge 2015-01-15 12:02:55 +00:00
Zoltan Majo
9d6b3c1d71 8067374: Use %f instead of %g for LogCompilation output
Changed format string from %g to %f.

Reviewed-by: kvn
2015-01-15 11:30:13 +01:00
Paul Sandoz
bfe8fc7433 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Vladimir Kozlov
834ff91cc5 8068864: C2 failed: modified node is not on IGVN._worklist
Use igvn.replace_input_of() instead of set_req().

Reviewed-by: iveresov, vlivanov
2015-01-14 17:27:00 -08:00
Dmitry Samersoff
4550ca8d71 Merge 2015-01-14 17:22:28 +00:00
Vladimir Ivanov
8cfbe74d7c Merge 2015-01-14 15:13:39 +00:00
Dmitry Samersoff
885e6ddf67 7076820: assert(addr != 0) failed: address sanity check in PerfMemory::detach with -XX:-UsePerfData
Explicitly checks for UsePerfData and if it's false make Perf:detach a NOP.

Reviewed-by: dholmes, jbachorik
2015-01-14 07:10:53 -08:00
Harold Seigel
4e980350ca 8055146: Split Verifier incorrectly throws VerifyError for getstatic of an array field
Allow fieldClass for getstatic and putstatic to be an array

Reviewed-by: dholmes, acorn
2015-01-14 08:14:23 -05:00
Kim Barrett
77f22c1241 8068396: Rename assert() to vmassert()
Macro renaming, with temporary old name synonyms for compatibilty

Reviewed-by: ehelin, dholmes, coleenp
2015-01-13 14:30:53 -05:00
Matthias Baesken
21cd501d27 8069590: AIX port of "8050807: Better performing performance data handling"
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: simonis, goetz
2015-01-13 16:09:52 +01:00
Johannes Scheerer
508b9a0a1f 8068739: G1CollectoryPolicy uses uninitialized field '_sigma' in the constructor
Change initialization order in constructor. Remove suppression for suppression of "'this': used in base member initializer list" warning.

Reviewed-by: mgerdin, tschatzl, simonis
2015-01-13 11:04:53 +01:00
Goetz Lindenmaier
8e2df5f543 8067941: [TESTBUG] Fix tests for OS with 64K page size
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7 8027829: CompileCommand does not accept all JLS-conformant class/method names
Fix parsing and updated comments

Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Calvin Cheung
9000f8c3c7 8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.

Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Pavel Chistyakov
5bd69d7ad4 8059551: JEP-JDK-8043304: Test task: stress tests
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Roland Westrelin
3e42c387f6 Merge 2015-01-12 15:50:30 +00:00
Stefan Johansson
7a8a19d1d9 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
Making sure committed memory is cleared when re-committed, even if using large pages.

Reviewed-by: kbarrett, tschatzl
2015-01-12 15:24:29 +01:00
Jesper Wilhelmsson
24a5a68bed Merge 2015-01-12 12:51:53 +01:00
Zoltan Majo
b5909f6d03 8065894: CodeHeap::next_free should be renamed
Rename next_free() to next_used()

Reviewed-by: thartmann, iveresov
2015-01-12 09:55:20 +01:00
Martin Doerr
53821ffdfa 8068724: ppc64: update assembler: SPR access, CR logic, HTM
Fix bug in encoding of special purpose registers. Provide more convenient version of condition register logic instructions. Enhance support for hardware transactional memory.

Reviewed-by: kvn, goetz
2015-01-12 11:14:49 +01:00
Lois Foltan
5f8b5ceaee 8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.

Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Yumin Qi
d4fd7377f4 Merge 2015-01-10 12:35:44 -08:00
Dean Long
7002708d14 Merge 2015-01-09 13:28:02 -05:00
Kim Barrett
2a73208887 8067306: Improve STATIC_ASSERT
New improved implementation

Reviewed-by: ehelin, stefank
2015-01-09 11:33:48 -05:00
Zoltan Majo
8467a04feb 8068505: interpreter profiling incorrect on PPC64
Reviewed-by: simonis, goetz
2015-01-09 09:26:58 +01:00
Dean Long
f5750b67fd Merge 2015-01-08 17:45:10 -05:00
Christian Tornqvist
6173a83d5d 8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08:00
Jesper Wilhelmsson
7c43a226b4 Merge 2015-01-08 15:44:46 +01:00
Claes Redestad
8d30377d50 8068037: Remove dead code in G1CollectedHeap
Reviewed-by: stefank, tschatzl
2015-01-08 14:13:03 +01:00
Roland Westrelin
d2891a37e7 8027626: assert(Opcode() != Op_If || outcnt() == 2) failed: bad if #1
IGVN encounters IfNode with single projection when optimizing dying subgraph

Reviewed-by: kvn
2015-01-08 11:00:38 +01:00
Roland Westrelin
3b3dd985de 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2015-01-07 16:40:02 +01:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Goetz Lindenmaier
dd5f249290 8068503: ppc64: Encode/Decode nodes for disjoint cOops mode
Reviewed-by: simonis
2015-01-07 08:37:49 +01:00
Jiangli Zhou
ab5fb22cdb Merge 2015-01-14 16:35:58 -05:00
Jiangli Zhou
f3c99841f9 8067982: Some jcmd /gc/heap_dump tests failed: hprof output contains warning or error
Include shared symbols in SymbolTable::symbols_do(SymbolClosure).

Reviewed-by: minqi, farvidsson, coleenp
2015-01-14 16:35:00 -05:00
Severin Gehwolf
e13c212339 8067331: Zero: Atomic::xchg and Atomic::xchg_ptr need full memory barrier
Reviewed-by: dholmes, coleenp
2015-01-07 16:43:04 +01:00
Coleen Phillimore
27a1ed85b6 8067836: The Universe::flush_foo methods belong in CodeCache
Move this code to CodeCache.

Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
Coleen Phillimore
2b871d6987 6583051: crash when adding non-static methods to java.lang.Object class
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.

Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Goetz Lindenmaier
1c18aef92c 8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
Introduce compressed oops mode disjoint base and improve compressed heap handling.

Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Jesper Wilhelmsson
8575f889ee Merge 2015-01-05 15:00:30 +01:00
Harold Seigel
5b8ee4c102 8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp
Use correct CHECK macro in call to load_class()

Reviewed-by: coleenp, lfoltan, gziemski
2014-12-30 12:59:20 -05:00
Harold Seigel
0efeffc5e2 Merge 2014-12-27 13:26:41 -05:00
Yumin Qi
13548bcc63 Merge 2014-12-23 19:04:23 -08:00
Vladimir Kozlov
0936c21af6 Merge 2014-12-23 16:42:48 -08:00
Jesper Wilhelmsson
a2b3cf3583 Merge 2014-12-23 14:03:15 +01:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00