5800 Commits

Author SHA1 Message Date
Yumin Qi
65a39ab028 8130115: REDO - Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-08-14 10:10:35 -07:00
Max Ockner
4694fbd776 8098791: Remove PrintClassStatistics and PrintMethodStatistics
PrintClassStatistics and PrintMethodStatistics have been removed.

Reviewed-by: coleenp, iklam
2015-08-12 14:18:12 -04:00
David Lindholm
b206c669f7 8133193: Memory leak in G1 because G1RootProcessor doesn't have desctructor
Reviewed-by: mgerdin, tschatzl
2015-08-12 16:32:29 +02:00
Staffan Larsen
e33d8d62ca Merge 2015-08-10 13:34:53 +00:00
Staffan Larsen
781b67580f 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:54 +02:00
Dmitry Samersoff
7a36a80c84 Merge 2015-08-10 13:56:27 +03:00
Dmitry Dmitriev
d364e5d191 8132892: Memory must be freed after calling Arguments::set_sysclasspath function
Free memory after calling set_sysclasspath

Reviewed-by: dholmes, dcubed
2015-08-09 13:38:24 +03:00
Kim Barrett
a4537791a8 Merge 2015-08-08 00:27:39 +02:00
Thomas Schatzl
c6cfb3a7fd 8133042: Remove some direct accesses of G1Allocator to G1CollectedHeap members
Remove direct access to private members of G1CollectedHeap from G1Allocator and G1ArchiveAllocator. Allows removal of friend delcarations.

Reviewed-by: kbarrett, jmasa, jwilhelm
2015-08-07 15:37:07 +02:00
Eric Caspole
bcca305c14 8078904: CMS: Assert failed: Ctl pt invariant
Survivor rescan array now baed on MinTLABSize so all entries will fit

Reviewed-by: tschatzl, kbarrett
2015-08-07 09:15:42 -04:00
Karen Kinnear
a53e8f36c1 Merge 2015-08-06 19:52:54 +02:00
Karen Kinnear
7983a4235c 8087342: Crash in klassItable::initialize_itable_for_interface
Fix method searches to handle static, private instance and overpass

Reviewed-by: lfoltan, dholmes, hseigel
2015-08-06 13:02:15 -04:00
Rickard Bäckman
21f9e19316 Merge 2015-08-06 16:28:08 +00:00
Thomas Schatzl
c2d0a8dbd0 8133047: Rename G1ParScanThreadState::_queue_num to _worker_id
Reviewed-by: jmasa, jwilhelm
2015-08-06 15:52:33 +02:00
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
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