Thomas Schatzl
f161bd6d16
8027959: Early reclamation of large objects in G1
...
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness.
Reviewed-by: brutisso, mgerdin
2014-07-23 09:03:32 +02:00
Thomas Schatzl
bc56e061ec
8048112: G1 Full GC needs to support the case when the very first region is not available
...
Refactor preparation for compaction during Full GC so that it lazily initializes the first compaction point. This also avoids problems later when the first region may not be committed. Also reviewed by K. Barrett.
Reviewed-by: brutisso
2014-07-21 10:00:31 +02:00
Thomas Schatzl
2e37a94622
8048085: Aborting marking just before remark results in useless additional clearing of the next mark bitmap
...
Skip clearing the next bitmap if we just recently aborted since the full GC already clears this bitmap.
Reviewed-by: brutisso
2014-07-21 09:59:46 +02:00
Thomas Schatzl
1ad5cdb4a4
8049051: Use of during_initial_mark_pause() in G1CollectorPolicy::record_collection_pause_end() prevents use of seperate object copy time prediction during marking
...
Replaced use of during_initial_mark_pause() with the variable last_pause_included_initial_mark that holds the real old value of _during_initial_mark_pause.
Reviewed-by: brutisso, ehelin
2014-07-21 09:59:37 +02:00
Erik Helin
b77bc85799
8049426: Minor cleanups after G1 class unloading
...
Reviewed-by: stefank, brutisso
2014-07-09 16:44:30 +02:00
Stefan Karlsson
1b001a2afd
8049421: G1 Class Unloading after completing a concurrent mark cycle
...
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80
8049420: Backout 8048248 to correct attribution
...
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316
8048248: G1 Class Unloading after completing a concurrent mark cycle
...
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Thomas Schatzl
aec070cb69
8040977: G1 crashes when run with -XX:-G1DeferredRSUpdate
...
When G1 is run with -XX:-G1DeferredRSUpdate, the VM crashes because of wrong initialization order of member variables. The change makes the initalization explicit, not relying on initialization order any more.
Reviewed-by: brutisso, mgerdin
2014-06-26 16:01:07 +02:00
Thomas Schatzl
b4e0c547b8
8035401: Fix visibility of G1ParScanThreadState members
...
After JDK-8035400 there were several opportunities to fix the visibility of several members of the G1ParScanThreadState class.
Reviewed-by: brutisso, mgerdin
2014-06-26 15:48:05 +02:00
Thomas Schatzl
0bd028231f
8035400: Move G1ParScanThreadState into its own files
...
Extract the G1ParScanThreadState class from G1CollectedHeap.?pp into its own files.
Reviewed-by: brutisso, mgerdin
2014-06-26 15:45:07 +02:00
Mikael Gerdin
1e1ef4f73f
8047818: G1 HeapRegions can no longer be ContiguousSpaces
...
Change parent of G1OffsetTableContigSpace to CompactibleSpace, reimplement missing functionality
Reviewed-by: stefank, jmasa, tschatzl
2014-06-26 11:36:58 +02:00
Mikael Gerdin
ebdab477c7
8048214: Linker error when compiling G1SATBCardTableModRefBS after include order changes
...
Reviewed-by: stefank, brutisso, tschatzl
2014-06-26 13:20:18 +02:00
Mikael Gerdin
83303777f7
8047821: G1 Does not use the save_marks functionality as intended
...
Rename save_marks to record_top_and_timestamp and remove som unused but related methods
Reviewed-by: stefank, ehelin
2014-06-26 10:00:00 +02:00
Mikael Gerdin
cfa1c5e67c
8047820: G1 Block offset table does not need to support generic Space classes
...
Reviewed-by: tschatzl, stefank
2014-06-25 16:53:13 +02:00
Mikael Gerdin
5b7c529bb2
8047819: G1 HeapRegionDCTOC does not need to inherit ContiguousSpaceDCTOC
...
Reviewed-by: stefank, tschatzl
2014-06-25 10:55:10 +02:00
Stefan Karlsson
24fcad36b4
8047323: Remove unused _copy_metadata_obj_cl in G1CopyingKeepAliveClosure
...
Reviewed-by: mgerdin, tschatzl
2014-06-25 08:28:01 +02:00
Per Lidén
d0e17d1ff0
8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
...
Reviewed-by: tschatzl, ehelin
2014-06-23 16:43:41 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Bengt Rutisson
9672a26d51
8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
...
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +02:00
Dan Horak
88577971d0
8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp
...
Clean up usage of idx_t and uintptr_t when using it in conjunction with BitMap::set_map(), casting to the appropriate type. Fixes compilation on S390.
Reviewed-by: tschatzl
2014-06-18 13:25:40 +02:00
Per Lidén
5e1811cd0e
8044796: G1: Enable G1CollectedHeap::stop()
...
Reviewed-by: brutisso, sjohanss
2014-06-13 13:46:06 +02:00
Jesper Wilhelmsson
ded8b863dd
8042298: Remove the names gen0 and gen1 from the GC code
...
Renamed gen0 and gen1 to young and old throughout the GC code.
Reviewed-by: sjohanss, jcoomes
2014-05-02 02:11:34 +02:00
Per Lidén
9c1843a7c3
8044768: Backout fix for JDK-8040807
...
Reviewed-by: brutisso, ehelin
2014-06-04 14:16:20 +02:00
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
Jon Masamitsu
6fc7041617
Merge
2014-05-22 06:39:47 -07:00
Per Lidén
eddf95338d
8039042: G1: Phantom zeros in cardtable
...
Reviewed-by: tschatzl, mgerdin
2014-05-20 10:24:30 +02:00
Jon Masamitsu
92baa3214c
Merge
2014-05-19 08:09:35 -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
Per Lidén
04341bfffb
8040804: G1: Concurrent mark stuck in loop calling os::elapsedVTime()
...
Reviewed-by: brutisso, tschatzl
2014-05-14 14:32:23 +02:00
Per Lidén
3f35cb0ca0
8040803: G1: Concurrent mark hangs when mark stack overflows
...
Reviewed-by: brutisso, ehelin
2014-05-14 13:32:44 +02:00
Coleen Phillimore
388434f387
Merge
2014-05-12 09:47:57 -04:00
Jon Masamitsu
c69251b879
Merge
2014-05-09 19:47:41 -07: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
Christian Thalinger
b2d6f9f78a
Merge
2014-05-08 15:08:45 -07:00
Goetz Lindenmaier
fb62773268
8042737: Introduce umbrella header prefetch.inline.hpp
...
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Andreas Sjoberg
09c2deeb5a
8042474: Clean up duplicated code in RSHashTable
...
Removed duplicate code in RSHashTable to fetch SparsePRTEntries
Reviewed-by: tschatzl, brutisso
2014-05-08 10:29: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
Daniel D. Daugherty
0b8b6462e4
Merge
2014-05-02 11:06:26 -07:00
Zhengyu Gu
16a3e2f16d
6885993: Named Thread: introduce print() and print_on(outputStream* st) methods
...
Eliminating duplicated code by introducing print_on(outputStream* st) methods in NamedThread
Reviewed-by: twisti, coleenp, dholmes
2014-05-01 05:52:28 -07: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
Thomas Schatzl
1653234dda
8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
...
A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.
Reviewed-by: mgerdin, brutisso
2014-04-22 11:10:12 +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