5846 Commits

Author SHA1 Message Date
Thomas Schatzl
183850cec4 8133043: Clean up code related to termination stats printing
Reformat termination stats related code to make it look more similar to existing code.

Reviewed-by: jwilhelm, jmasa
2015-08-06 15:49:52 +02:00
Thomas Schatzl
6e3ffb1aae 8073052: Rename and clean up the allocation manager hierarchy in g1Allocator.?pp
Fix naming of G1ParGCAllocator, decrease dependencies between G1CollectedHeap, G1Allocator and G1AllocRegion, additional documentation.

Reviewed-by: mgerdin, jmasa, kbarrett
2015-08-06 15:49:50 +02:00
David Holmes
47dd02d847 8130212: Thread::current() might access freed memory on Solaris
Reviewed-by: kvn, twisti, stuefe
2015-08-05 21:44:54 -04:00
Matthias Baesken
0d46ebff8f 8132969: C++11 requires a space between literal and identifier
Reviewed-by: simonis, ctornqvi
2015-08-04 06:52:46 -07:00
Roland Westrelin
02ae6d2a31 Merge 2015-08-04 13:41:09 +02:00
Bengt Rutisson
4673cb217e 8132953: imageDecompressor.hpp should not include precompiled.hpp
Reviewed-by: dholmes
2015-08-04 12:58:54 +02:00
Staffan Larsen
2bf01467e3 8132876: Increase PerfDataMemorySize to 64K
Reviewed-by: sspitsyn
2015-08-03 11:12:57 +02:00
Zoltan Majo
26cd440c55 8132457: Unify command-line flags controlling the usage of compiler intrinsics
Cleanup processing of command-line flags controlling intrinsics.

Reviewed-by: kvn
2015-08-03 09:39:29 +02:00
Jiangli Zhou
747d91708c Merge 2015-07-31 16:00:26 -04:00
Jaroslav Bachorik
39aea4789c Merge 2015-07-31 12:13:57 +02:00
Dmitry Samersoff
3b63ebf830 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:26:00 +03:00
Roland Westrelin
96b004cd82 8080289: Intermediate writes in a loop not eliminated by optimizer
Move Stores out of loop (after or before) when possible

Reviewed-by: kvn, vlivanov
2015-07-29 17:25:04 +02:00
Zoltan Majo
422cd18f23 8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.

Reviewed-by: kvn, jrose
2015-07-28 19:20:42 +02:00
Sangheon Kim
a13fe250b0 8130459: Add additional validation after heap creation
Some PLAB related flags' validation can happen after heap creation. Introduced additional stage of validation check.

Reviewed-by: coleenp, dholmes, kbarrett, gziemski, ecaspole, ddmitriev
2015-07-27 13:56:26 -07:00
Kim Barrett
093ee9b659 8079082: VerifyNoCSetOopsClosure is derived twice from Closure
Change closure to a function object and update iteration

Reviewed-by: mgerdin, ecaspole
2015-07-27 14:05:55 -04:00
Jaroslav Bachorik
386e0c6841 Merge 2015-07-25 00:36:45 +02:00
Jaroslav Bachorik
cac68725c7 Merge 2015-07-24 20:45:07 +02:00
Eric Caspole
cf7ea2f64e 8132148: G1 hs_err region dump legend out of sync with region values
Use E for Eden, S for Survivor, O for Old

Reviewed-by: tschatzl, tbenson
2015-07-24 10:32:00 -04:00
Coleen Phillimore
91fcaa5017 Merge 2015-07-24 03:50:48 +00:00
Coleen Phillimore
d7eb22156b Merge 2015-07-23 22:31:10 -04:00
Daniel D. Daugherty
65c2cc7e0f Merge 2015-07-24 02:57:59 +02:00
Daniel D. Daugherty
99f005b648 8132286: change 'InlineNotify' flag option from "product" to "diagnostic"
Reviewed-by: coleenp
2015-07-23 14:48:23 -07:00
Coleen Phillimore
7c4d03b281 Merge 2015-07-23 21:33:29 +02:00
Coleen Phillimore
77edd5baad 8087315: SIGBUS error in nsk/jvmti/RedefineClasses/StressRedefine
Need to get source_file_name from the_class's constant pool not previous version constant pool

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:18:56 -04:00
Coleen Phillimore
ea406828ce 8082782: vm crash on StressRedefineWithoutBytecodeCorruption fails with assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Walk compile task for Method* to not deallocate, store methods in methodHandle while compile task is being taken off compile queue

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:17:58 -04:00
Roland Westrelin
51ddedd5c7 Merge 2015-07-23 19:11:28 +02:00
Walter Florian Gugenberger
ca0fd4b1fe 8004687: G1: Parallelize object self-forwarding and scanning during an evacuation failure
Use the regular task queue during evacuation failure and allow per-thread preserved header queues to remove the global lock during evacuation failure.

Reviewed-by: mgerdin, jmasa
2015-07-23 11:14:47 +02:00
Erik Helin
57553520be 8131319: Move G1Allocator::_summary_bytes_used back to G1CollectedHeap
G1Allocator::_summary_bytes_used fits better in G1CollectedHeap since we added the archive allocator. Move it back to the original location.

Reviewed-by: mgerdin, tbenson
2015-07-23 11:14:24 +02:00
Bengt Rutisson
5f06b60fa1 8131600: heapdump/JMapHeap EXCEPTION_ACCESS_VIOLATION
Reviewed-by: mgerdin, kbarrett, tschatzl
2015-07-23 08:45:25 +02:00
Vladimir Ivanov
259aeb3399 8131675: EA fails with assert(false) failed: not unsafe or G1 barrier raw StoreP
Reviewed-by: roland
2015-07-22 20:23:53 +03:00
Kevin Walls
7af997614a Merge 2015-07-22 18:16:55 +02:00
Thomas Schatzl
cacfaec1d0 Merge 2015-07-22 16:46:36 +02:00
Goetz Lindenmaier
19857b164b 8131761: Fix merge error adding code that was removed in 8077936
Reviewed-by: tschatzl
2015-07-22 16:25:06 +02:00
Harold Seigel
9ba9e4aecb 8129895: New verifier fails to reject erroneous cast from int[] to other arrays of small integer types
Only allow assignability of arrays of primitive types if the types are identical

Reviewed-by: dholmes, gtriantafill
2015-07-22 08:00:38 -04:00
Kim Barrett
bd27782e17 Merge 2015-07-22 07:47:34 +02:00
Kim Barrett
717679c169 8130931: Refactor CardTableModRefBS[ForCTRS]
Remove friends and push CTRS-specific code down from base to derived

Reviewed-by: tschatzl, mgerdin
2015-07-22 00:37:01 -04:00
Coleen Phillimore
24c0f4e471 8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered

Added command line, summary cpu and os information to summary section.  Moved time of crash and duration in summary section.  Add GC strategy and compiler setting (tiered) to enhanced version string in error report.  Moved the stack trace sooner in hs_err file.

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Daniel D. Daugherty
d7f565d9eb 8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-07-21 07:28:37 -07:00
Roland Westrelin
ae7cdb5972 8130858: CICompilerCount=1 when tiered is off is not allowed any more
8122937 broke handling of CICompilerCount

Reviewed-by: kvn, vlivanov, gziemski
2015-07-27 13:44:07 +02:00
Roland Westrelin
327cf6829b Merge 2015-07-27 09:42:23 +02:00
Aleksey Shipilev
88a6ccaaa2 8131782: C1 Class.cast optimization breaks when Class is loaded from static final
Change as_ValueType() to return InstanceConstant when appropriate

Reviewed-by: jrose
2015-07-24 21:29:11 -04:00
Vladimir Kempik
6ab7533af1 8048353: jstack -l crashes VM when a Java mirror for a primitive type is locked
Reviewed-by: coleenp, dcubed
2015-07-20 18:57:07 +03:00
Coleen Phillimore
a692c78dfc Merge 2015-07-18 04:53:32 +02:00
Coleen Phillimore
802d5def62 Merge 2015-07-18 01:55:38 +02:00
Jeremy Manson
8d6eb32eee 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
Ensures special-cased command line options are settable via _JAVA_OPTIONS and JAVA_TOOL_OPTIONS.

Reviewed-by: coleenp, ddmitriev
2015-07-17 19:40:21 -04:00
Daniel D. Daugherty
350d9ece17 Merge 2015-07-17 15:01:09 -07:00
Vladimir Kozlov
1e08e6133d Merge 2015-07-17 14:51:28 -07:00
Calvin Cheung
84ff1787b7 8079825: Uninitialised variable in hotspot/src/share/vm & cpu/x86/vm (runtime)
Initialized local variables in classFileParser.cpp and rframe.cpp

Reviewed-by: dholmes, minqi
2015-07-17 12:07:49 -07:00
Alejandro Murillo
23b050e996 Merge 2015-07-17 08:46:52 -07:00
Daniel D. Daugherty
6f19e14049 Merge 2015-07-16 10:22:08 -07:00