5292 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
3c3e60d5be Merge 2014-11-26 18:01:10 +01:00
Mikael Gerdin
b5ef32af36 8065358: Refactor G1s usage of save_marks and reduce related races
Stop using save_marks in G1 related code and make setting the replacement field less racy.

Reviewed-by: brutisso, tschatzl
2014-11-26 10:53:31 +01:00
Mikael Gerdin
d65f3c41b7 8065218: Move CMS-specific fields from Space to CompactibleFreeListSpace
Reviewed-by: brutisso, tschatzl, sangheki
2014-11-26 10:51:52 +01:00
Tobias Hartmann
137d39454d 8007993: hotspot.log w/ enabled LogCompilation can be an invalid XML
Open compilation log files in write-mode and close before deletion attempt.

Reviewed-by: vlivanov
2014-11-26 08:06:58 +01:00
David Holmes
26dc1466b7 8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
2014-11-25 21:00:21 -05:00
Roland Westrelin
15dcd41e87 6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
OOM during reallocation of scalar replaced objects in deoptimization causes crashes

Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Niclas Adlertz
53f42d325b Merge 2014-12-05 15:16:01 +01:00
Roland Westrelin
1976f161a5 Merge 2014-12-04 14:11:11 +00:00
Roland Westrelin
07537703cc 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Goetz Lindenmaier
bdefb9e250 8065915: Fix includes after 8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: vlivanov, dholmes
2014-11-25 15:59:42 +01:00
Jesper Wilhelmsson
1da0a96993 8065305: Make it possible to extend the G1CollectorPolicy
Added a G1CollectorPolicyExt where it is possible to extend the class.

Reviewed-by: sjohanss, tschatzl
2014-11-25 13:41:08 +01:00
Alexander Harlap
aba13c04f2 8059492: Wrong spelling in assert: "Not initialied properly?"
Fixed typo in metaspace assert message

Reviewed-by: mgerdin
2014-11-20 10:03:22 -05:00
Ioi Lam
68c088e66f 8065346: WB_AddToBootstrapClassLoaderSearch calls JvmtiEnv::create_a_jvmti when not in _thread_in_vm state
Removed ThreadToNativeFromVM and use java_lang_String::as_utf8_string instead

Reviewed-by: dholmes, minqi
2014-11-19 19:31:13 -08:00
Coleen Phillimore
4151db8bfd 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Markus Grönlund
ac5d9dad16 8065361: Fixup headers and definitions for INCLUDE_TRACE
Reviewed-by: sla, stefank
2014-11-19 16:08:01 +01:00
Ioi Lam
ef64d5393d 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Gerald Thornbrugh
3f915eeafd 8050807: Better performing performance data handling
Reviewed-by: dcubed, pnauman, ctornqvi, dholmes, mschoene
2014-11-17 15:51:46 -05:00
David Chase
f454e5e02c Merge 2014-11-13 11:35:15 -05:00
Thomas Stuefe
c96487313b 8064779: Add additional comments for "8062370: Various minor code improvements"
Provide additional comments to jio_snprintf and jio_vsnprintf

Reviewed-by: simonis, coleenp, mgronlun
2014-11-17 11:26:43 -05:00
Staffan Larsen
c217bdda86 Merge 2014-11-17 09:36:40 +01:00
Coleen Phillimore
6ea8243276 Merge 2014-11-15 02:51:48 +00:00
Coleen Phillimore
95e4545589 Merge 2014-11-15 01:38:35 +00:00
Coleen Phillimore
2989453543 Merge 2014-11-15 01:29:25 +00:00
Coleen Phillimore
2488d9b005 Merge 2014-11-14 15:08:28 -05:00
Max Ockner
54d2060d42 8060449: Obsolete command line flags accept arbitrary appendix
Proper error messages for newly obsolete command line flags.

Reviewed-by: lfoltan, dcubed, coleenp
2014-11-14 13:09:53 -05:00
Eric McCorkle
3e575a7078 8064571: java/lang/instrument/IsModifiableClassAgent.java: assert(length > 0) failed: should only be called if table is present
Remove tautological assert

Reviewed-by: coleenp, lfoltan, sspitsyn, jiangli
2014-11-14 12:45:55 -05:00
Aleksey Shipilev
8f3190b805 8064749: -XX:-UseCompilerSafepoints breaks safepoint rendezvous
Reviewed-by: dcubed, coleenp, kvn, dholmes
2014-11-13 19:12:28 +03:00
Jesper Wilhelmsson
c72d5c48e2 Merge 2014-11-13 12:29:09 +01:00
Roland Westrelin
4bc2edad15 8054478: C2: Incorrectly compiled char[] array access crashes JVM
Dead backbranch in main loop results in erroneous array access

Reviewed-by: kvn, iveresov
2014-11-13 09:19:46 +01:00
Vladimir Ivanov
5a00d5f6b5 8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: kvn, roland
2014-11-24 07:29:03 -08:00
Tobias Hartmann
9adb455ba8 8065339: Failed compilation does not always trigger a JFR event 'CompilerFailure'
CompilerFailure JFR event should be triggered in ciEnv.

Reviewed-by: kvn
2014-11-24 08:48:15 +01:00
Vladimir Kozlov
f36e847523 8065618: C2 RA incorrectly removes kill projections
Don't remove KILL projections if their "defining" nodes have SCMemProj projection (memory side effects).

Reviewed-by: iveresov
2014-11-21 17:17:41 -08:00
Igor Ignatyev
bf5546e48d 8059550: JEP-JDK-8043304: Test task: segment overflow w/ empty others
Reviewed-by: kvn, thartmann, iignatyev
2014-11-21 17:27:11 +03:00
Tobias Hartmann
5ef6d4e99d 8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
Ignore non-instance Klasses in the subclass hierarchy.

Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Vladimir Ivanov
10999c6095 Merge 2014-11-17 23:11:40 +00:00
Vladimir Ivanov
f3d9096e4d 8062258: compiler/debug/TraceIterativeGVN.java segfaults in trace_PhaseIterGVN
Reviewed-by: kvn
2014-11-17 14:02:45 -08:00
Nils Eliasson
bc52e8443e 8061256: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java timed out
Must not be at safepoint when taking CompileQueue_lock

Reviewed-by: kvn, anoll
2014-11-13 14:42:54 +01:00
Coleen Phillimore
a44e4f2067 Merge 2014-11-13 03:48:47 +00:00
David Holmes
959631d58d 8062307: 'Reference handler' thread triggers assert w/ TraceThreadEvents
Removed unused and non-working TraceThreadEvents option

Reviewed-by: coleenp, jiangli
2014-11-12 19:05:59 -05:00
Aleksey Shipilev
f8712e7800 8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Jiangli Zhou
c4806e0186 Merge 2014-11-11 14:52:50 -05:00
Jiangli Zhou
0bad624124 Merge 2014-11-11 19:42:52 +00:00
Coleen Phillimore
629b0a66ee Merge 2014-11-11 18:00:06 +00:00
Jiangli Zhou
7251d384ac Merge 2014-11-11 16:54:24 +00:00
Coleen Phillimore
d6de951947 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-11 09:59:50 -05:00
Vladimir Ivanov
3e0d07ed5c 8060147: SIGSEGV in Metadata::mark_on_stack() while marking metadata in ciEnv
Reviewed-by: kvn, roland, coleenp, mgerdin
2014-11-11 04:46:13 -08:00
Aleksey Shipilev
21527b2ff2 8015272: Make @Contended within the same group to use the same oop map
Reviewed-by: coleenp, dholmes
2014-11-11 15:07:09 +03:00
Tobias Hartmann
00aa20db4a 8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Jiangli Zhou
9b1628d0b5 Merge 2014-11-10 19:52:28 -05:00
Eric McCorkle
cba5bd2638 8058322: Zero name_index item of MethodParameters attribute cause MalformedParameterException
Allow hotspot to report null for 0 parameter_name index in MethodParameters attribute

Reviewed-by: coleenp, dholmes
2014-11-10 19:37:32 -05:00