Per Lidén
4a4c0fce93
8029075: String deduplication in G1
...
Implementation of JEP 192, http://openjdk.java.net/jeps/192
Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Jesper Wilhelmsson
1e1ad7f132
8036025: Sort the freelist in order to shrink the heap
...
The free list is being maintained in a sorted fashion and old and humongous regions are allocated from the bottom of the heap while young regions are allocated at the top.
Co-authored-by: Staffan Friberg <staffan.friberg@oracle.com>
Reviewed-by: tschatzl, mgerdin
2014-02-28 15:27:09 +01:00
Erik Helin
853fffb2cb
8036703: Add trace event with statistics for the metaspace chunk free lists
...
Reviewed-by: stefank, mgerdin, coleenp, egahlin
2014-03-18 09:03:28 +01:00
Erik Helin
1fb0683664
8036696: Add metaspace gc threshold to metaspace summary trace event
...
Reviewed-by: jmasa, stefank, mgerdin
2014-03-17 17:31:46 +01:00
Per Lidén
731ef44b87
8036673: G1: Abort weak reference processing if mark stack overflows
...
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:45 +01:00
Per Lidén
d75f47a49d
8036672: G1: alloc_purpose in copy_to_survivor_space() used incorrectly
...
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:38 +01:00
Bengt Rutisson
13792b1aa7
8037407: G1: Remove heapRegionSets.cpp
...
Reviewed-by: tschatzl, pliden
2014-03-17 13:42:16 +01:00
Thomas Schatzl
a07b2194f7
8036860: Pad and cache-align the BiasedMappedArray
...
Pad and cache-align BiasedMappedArray instances by default to avoid performance variability problems due to false sharing, as instances of this data structures are typically used for performance sensitive code.
Reviewed-by: brutisso, stefank
2014-03-17 13:07:55 +01:00
Thomas Schatzl
483ea400a5
8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure
...
Mentioned closures are actually wrapped methods. This adds confusion to readers, and in this case also increases code size as G1ParScanHeapEvacClosure is part of the oop_oop_iterate() methods. Move them into G1ParScanThreadState as methods.
Reviewed-by: stefank
2014-03-17 10:07:51 +01:00
Thomas Schatzl
375e6df9ee
8034868: Extract G1 From Card Cache into separate class
...
Refactor the From Card Cache into a separate class.
Reviewed-by: jmasa
2014-03-17 10:13:55 +01:00
Thomas Schatzl
2a8616c9d6
8035654: Add times for evacuation failure handling in "Other" time
...
Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.
Reviewed-by: jwilhelm, jmasa
2014-03-17 10:13:42 +01:00
Thomas Schatzl
80188ce0b2
8035398: Add card redirty time in "Other" time in G1
...
Show the time taken by card redirtying during GC in a new "Redirty Cards" line.
Reviewed-by: jwilhelm, brutisso
2014-03-17 10:13:27 +01:00
Thomas Schatzl
d3e28ca682
8027295: Free CSet takes ~50% of young pause time
...
Improve fast card cache iteration and avoid taking locks when freeing the collection set.
Reviewed-by: brutisso
2014-03-17 10:13:18 +01:00
Thomas Schatzl
cde8aa670b
8035815: Cache-align and pad the from card cache
...
The from card cache is a very frequently accessed data structure. It is essentially a 2d array of per-region values, one row of values for every GC thread. Pad and align the data structure to avoid false sharing.
Reviewed-by: stefank
2014-03-17 10:12:47 +01:00
Thomas Schatzl
329e55e7b0
8035406: Improve data structure for Code Cache remembered sets
...
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.
Reviewed-by: mgerdin, brutisso
2014-03-17 10:12:21 +01:00
Bengt Rutisson
c88e3def4d
8034079: G1: Refactor the HeapRegionSet hierarchy
...
Reviewed-by: tschatzl, pliden
2014-03-14 10:15:46 +01:00
Jon Masamitsu
8c7d064ee8
7098155: Resize young gen at full collections for UseParallelGC
...
Reviewed-by: tschatzl
2014-03-05 07:34:35 -08:00
Stefan Johansson
b1cfdfafe2
8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
...
Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed.
Reviewed-by: coleenp, pliden
2014-02-13 10:05:03 +01:00
Stefan Karlsson
a8f01c3f99
8038630: Remove ExtendedOopClosure::prefetch_style()
...
Reviewed-by: coleenp, jmasa
2014-03-28 14:15:03 +01:00
Stefan Karlsson
f2de069dc2
8038628: Remove unused Closure::abort()
...
Reviewed-by: coleenp, jmasa
2014-03-28 14:03:11 +01:00
Mikael Gerdin
1fdc7cd78f
8038405: Clean up some virtual fucntions in Space class hierarchy
...
Get rid of some duplicated implementations and change nonsense implementations to pure virtuals
Reviewed-by: stefank, jmasa
2014-03-12 15:25:35 +01:00
Mikael Gerdin
c62c16f94a
8038412: Move object_iterate_careful down from Space to ContigousSpace and CFLSpace
...
Only declare the functions where they are actually needed.
Reviewed-by: tschatzl, stefank
2014-03-12 17:13:48 +01:00
Mikael Gerdin
e72dd1b433
8038404: Move object_iterate_mem from Space to CMS since it is only ever used by CMS
...
Reviewed-by: brutisso, tschatzl, stefank
2014-03-12 15:22:45 +01:00
Erik Helin
a45b9ead44
Merge
2014-02-25 11:02:11 +01:00
Thomas Schatzl
7de1730b10
8034948: Back out JDK-6976350 since it does not fix any issue
...
Revert JDK-6976350 because it does not improve PLAB fragmentation. To the contrary, it tends to increase the amount of wasted space with many threads.
Reviewed-by: brutisso
2014-02-24 10:45:15 +01:00
Thomas Schatzl
2ae60596ed
8035329: Move G1ParCopyClosure::copy_to_survivor_space into G1ParScanThreadState
...
Move G1ParCopyClosure::copy_to_survivor_space to decrease code size.
Reviewed-by: stefank, jmasa
2014-02-24 09:41:04 +01:00
Thomas Schatzl
dbc8581147
8035326: Assume non-NULL references in G1CollectedHeap::in_cset_fast_test
...
Remove the assumption that G1CollectedHeap::in_cset_fast_test needs to check for NULL references. Most of the time this is not required, making the code doing this check multiple times.
Reviewed-by: stefank, mgerdin, jmasa
2014-02-24 09:40:49 +01:00
Thomas Schatzl
6c588725c1
8027559: Decrease code size and templatizing in G1ParCopyClosure::do_oop_work
...
Move methods that are not dependent on any of G1ParCopyClosure's template parameters into G1ParCopyHelper. Further remove unused methods and members of the class hierarchy.
Reviewed-by: mgerdin, stefank
2014-02-24 09:40:21 +01:00
Stefan Karlsson
4248787654
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
...
Reviewed-by: tschatzl, coleenp
2014-02-21 10:01:20 +01:00
Erik Helin
7b6d31b4a5
Merge
2014-02-21 10:00:46 +01:00
Vladimir Kozlov
4200d0d095
Merge
2014-02-20 12:20:56 -08:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Staffan Larsen
43b711ea78
8034080: Remove the USDT1 dtrace code from Hotspot
...
Reviewed-by: dholmes, coleenp
2014-02-18 09:15:40 +01:00
Stefan Johansson
10d4420b08
8033440: jmap reports unexpected used/free size of concurrent mark-sweep generation
...
SA used the wrong type for the indexedFreeList in CompactibleFreeListSpace.
Reviewed-by: coleenp, dsamersoff
2014-02-17 09:51:37 +01:00
Erik Helin
83a8157179
Merge
2014-02-17 10:13:28 +01:00
Erik Helin
c5ef624e7c
Merge
2014-02-13 17:57:27 +01:00
Ioi Lam
7f138c5502
7182040: volano29 limited by os resource on Linux - need better diagnostic message
...
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"
Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Matthias Baesken
2b8f41202a
8034171: Remove use of template template parameters from binaryTreeDictionary
...
Reviewed-by: mgerdin, jmasa
2014-02-11 09:34:50 +01:00
Stefan Karlsson
2a5c51998d
8034764: Use process_strong_roots to adjust the StringTable
...
Reviewed-by: tschatzl, brutisso
2014-02-14 09:29:56 +01:00
Stefan Karlsson
2a866afcdb
8034761: Remove the do_code_roots parameter from process_strong_roots
...
Reviewed-by: tschatzl, mgerdin, jmasa
2014-02-13 17:44:39 +01:00
Erik Helin
4b802a6d31
Merge
2014-01-30 14:01:45 +01:00
Jesper Wilhelmsson
5301534dc3
8028391: Make the Min/MaxHeapFreeRatio flags manageable
...
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Harold Seigel
9aea544943
Merge
2014-01-19 20:23:46 -05:00
Staffan Larsen
b35fb5f8c0
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Stefan Johansson
a23ee6de8d
8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
...
Using pointer_delta to avoid overflowing pointer calculation.
Reviewed-by: jmasa, tschatzl
2014-01-20 10:55:54 +01:00
Bengt Rutisson
9b29efeb63
8030177: G1: Enable TLAB resizing
...
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +01:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Mikael Gerdin
4c7c3f0613
8032379: Remove the is_scavenging flag to process_strong_roots
...
Refactor the strong root processing to avoid using a boolean in addition to the ScanOption enum.
Reviewed-by: stefank, tschatzl, ehelin, jmasa
2014-01-14 16:40:33 +01:00
Stefan Johansson
8ce7c46ec7
8020277: Young GC could be extremely slow due to assertion in ObjectStartArray::object_starts_in_range
...
8009462: Young GC's (ParNewGC and SerialGC) have unexpected variances
Removed the assertion slowing down GC.
Reviewed-by: stefank, mgerdin
2014-01-20 12:56:18 +01:00