Bengt Rutisson
f013a5db3b
Merge
2014-06-03 09:34:04 +00:00
Bengt Rutisson
426151a22e
8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects
...
Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.
Reviewed-by: pliden, jmasa, tschatzl
2014-06-03 10:44:36 +02:00
Per Lidén
2652623308
8040807: G1: Enable G1CollectedHeap::stop()
...
Reviewed-by: brutisso, jmasa, tschatzl
2014-06-03 10:37:46 +02:00
Christian Thalinger
67ad89efd5
Merge
2014-05-22 16:26:05 -07:00
Coleen Phillimore
c336175c94
8038212: Method::is_valid_method() check has performance regression impact for stackwalking
...
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.
Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Coleen Phillimore
388434f387
Merge
2014-05-12 09:47:57 -04:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
fb62773268
8042737: Introduce umbrella header prefetch.inline.hpp
...
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Gerard Ziemski
ed9c096396
8038654: Separate SymbolTable and StringTable code
...
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.
Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Bengt Rutisson
9968a23667
7132678: G1: verify that the marking bitmaps have no marks for objects over TAMS
...
Co-authored-by: Tony Printezis <tony.printezis@oracle.com>
Reviewed-by: jmasa, tschatzl, ehelin
2014-04-29 09:33:20 +02:00
Per Lidén
820ae7109e
8040245: G1: VM hangs during shutdown
...
Temporarily disable the shutdown of the concurrent GC threads introduced in JDK-8037112
Reviewed-by: brutisso, tschatzl, jmasa
2014-04-17 18:47:15 +02:00
Bengt Rutisson
5d967f0aea
8040722: G1: Clean up usages of heap_region_containing
...
Reviewed-by: tschatzl, jmasa
2014-04-17 15:57:02 +02:00
Thomas Schatzl
69c3c31317
8040002: Clean up code and code duplication in re-diryting cards for verification
...
Card re-dirtying code for verification and actual redirtying uses two different, almost completely identical card closures. Also the verification code still assumes a perm gen.
Reviewed-by: brutisso, jmasa
2014-04-16 16:47:02 +02:00
Thomas Schatzl
c5ef16027b
8019342: G1: High "Other" time most likely due to card redirtying
...
Parallelize card redirtying to decrease the time it takes.
Reviewed-by: brutisso
2014-04-16 16:46:58 +02:00
Thomas Schatzl
0f9e30ad06
8028710: G1 does not retire allocation buffers after reference processing work
...
G1 does not retire allocation buffers after reference processing work when -XX:+ParallelRefProcEnabled is enabled. This causes wrong calculation of PLAB sizes, as the amount of space wasted is not updated correctly.
Reviewed-by: brutisso
2014-04-16 11:05:37 +02:00
Thomas Schatzl
aa00878260
8027553: Change the in_cset_fast_test functionality to use the G1BiasedArray abstraction
...
Instead of using a manually managed array for the in_cset_fast_test array, use a G1BiasedArray instance.
Reviewed-by: brutisso, mgerdin
2014-04-16 10:55:26 +02:00
Stefan Karlsson
a97ce35fab
8039957: Replace the last few %p usages with PTR_FORMAT in the GC code
...
Reviewed-by: jwilhelm, sjohanss, jmasa
2014-04-15 20:46:23 +02:00
Per Lidén
f1edf66ef8
8039147: Cleanup SuspendibleThreadSet
...
Reviewed-by: brutisso, tschatzl, mgerdin
2014-04-11 12:29:24 +02:00
Per Lidén
a3425b64f0
8037112: gc/g1/TestHumongousAllocInitialMark.java caused SIGSEGV
...
Reviewed-by: brutisso, mgerdin
2014-04-11 11:00:12 +02:00
Stefan Karlsson
d78446aa45
8039743: Use correct format specifier to print size_t values and pointers in the GC code
...
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: jmasa, sjohanss
2014-04-09 13:54:32 +02:00
Stefan Karlsson
6583b826bb
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
...
Reviewed-by: brutisso, tschatzl
2014-04-04 09:46:10 +02:00
Kevin Walls
fd0bcaa2b2
Merge
2014-04-03 11:21:33 -07:00
Vladimir Kempik
0ab60ab172
8016302: Change type of the number of GC workers to unsigned int (2)
...
Reviewed-by: tschatzl, jwilhelm
2014-04-03 17:49:31 +04:00
Erik Helin
977d1f7a5d
8038934: Remove prefix allocated_ from methods and variables in Metaspace
...
Reviewed-by: jmasa, coleenp
2014-03-31 17:09:38 +02:00
Goetz Lindenmaier
f67a3b7e04
8038498: Fix includes and C inlining after 8035330
...
Change 8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure broke the debug build on AIX. The method do_oop_partial_array() is added in a header, but requires the inline function par_write_ref() through several inlined calls. In some cpp files, like arguments.cpp, par_write_ref() is not defined as the corresponding inline header and is not included. The AIX debug VM does not start because of the missing symbol. This change solves this by cleaning up include dependencies.
Reviewed-by: tschatzl, stefank
2014-04-02 09:17:38 +02:00
Bengt Rutisson
1f5e01e4f4
8038829: G1: More useful information in a few assert messages
...
Reviewed-by: sjohanss, jmasa
2014-04-01 07:46:51 +02:00
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
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
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
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
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
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
Stefan Karlsson
5d460f1f3d
8033923: Use BufferingOopClosure for G1 code root scanning
...
Reviewed-by: mgerdin, brutisso
2014-02-10 12:58:09 +01:00
Bengt Rutisson
980e57c6c4
8033922: G1: Back out 8033601 and go back to use the to-obj for chunked arrays
...
Reviewed-by: stefank, tschatzl
2014-02-07 13:48:07 +01:00
Per Lidén
0a63fe1c10
8031703: Missing post-barrier in ReferenceProcessor
...
Reviewed-by: tonyp, tschatzl
2014-02-06 14:12:43 +01:00
Thomas Schatzl
a81e7a52fc
8033443: Test8000311 fails after latest changes to parallelize string and symbol table unlink
...
When string and symbol table unlink are not performed in parallel, the claim index we check is not updated, and so a guarantee fails. Take this into account when checking the guarantee.
Reviewed-by: brutisso, jwilhelm
2014-02-05 14:29:34 +01:00
Antonios Printezis
170566f471
8033601: G1: Make array chunking use the same length field as the other young GCs
...
Use the old copy length instead of the length of the forwarded object for chunked arrays.
Reviewed-by: brutisso, tschatzl
2014-02-05 12:47:48 +01:00
Thomas Schatzl
58f7d4c7e5
8033106: Wrong predicate for checking whether the correct amount of symbol table entries have been processed in G1
...
The change fixes the predicate check.
Reviewed-by: jmasa, tonyp, stefank
2014-01-31 09:58:06 +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
Bengt Rutisson
9b29efeb63
8030177: G1: Enable TLAB resizing
...
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +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