969 Commits

Author SHA1 Message Date
Thomas Schatzl
24bee82e67 8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate
Do not try to verify timing measures for the redirty logged cards phase when it is not executed.

Reviewed-by: brutisso, jmasa
2014-08-07 22:28:16 +02:00
Marcus Larsson
ae0190f121 8051837: Remove temporary G1UseParallelRSetUpdating and G1UseParallelRSetScanning flags
Reviewed-by: stefank, tschatzl
2014-08-07 09:35:08 +02:00
Stefan Karlsson
ef47f5dc0e 8048269: Add flag to turn off class unloading after G1 concurrent mark
Added -XX:+/-ClassUnloadingWithConcurrentMark

Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Jon Masamitsu
5f2c33e42b 8031323: Optionally align objects copied to survivor spaces
Reviewed-by: brutisso, tschatzl
2014-08-01 15:40:12 -07:00
Thomas Schatzl
a959c0971e 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
Eager reclaim also needs to clear marks of eagerly reclaimed regions if they have already been marked during concurrent mark.

Reviewed-by: jmasa
2014-07-31 09:23:24 +02:00
Martin Doerr
071c3a3924 8050973: CMS/G1 GC: add missing Resource and Handle mark
Add Resource/HandleMark in the work() method of some AbstractGangTask to reclaim these resources earlier.

Reviewed-by: tschatzl, goetz
2014-07-29 10:26:09 +02:00
Jon Masamitsu
7774fe7ed1 Merge 2014-07-24 15:06:36 -07:00
Jon Masamitsu
e242f23105 Merge 2014-07-23 14:06:28 -07:00
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
Serguei Spitsyn
b0367c3bea Merge 2014-07-18 23:53:59 -07:00
Coleen Phillimore
3f0a945468 8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
Remove bcx and mdx handling.  We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.

Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Volker Simonis
c17cd0d39f 8050228: Rename 'rem_size' in compactibleFreeListSpace.cpp because of name clashes on AIX
Reviewed-by: dholmes, jmasa
2014-07-17 11:32:09 +02:00
Jon Masamitsu
5de58bc127 Merge 2014-07-11 11:14:40 -07:00
Jon Masamitsu
2506e35cc0 Merge 2014-07-11 05:59:08 -07:00
Stefan Karlsson
a5b4cec253 8049831: Metadata Full GCs are not triggered when CMSClassUnloadingEnabled is turned off
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-07-11 09:07:23 +02:00
Jon Masamitsu
fbe6d80096 Merge 2014-07-10 13:39:18 -07:00
Erik Helin
b77bc85799 8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
2014-07-09 16:44:30 +02:00
Frederic Parain
5a8cc5f33d 8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
Reviewed-by: hseigel, lfoltan
2014-07-08 08:04:06 -07: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
Coleen Phillimore
6db67f9317 Merge 2014-07-02 20:20:45 -04:00
Erik Helin
27fb967c28 Merge 2014-07-02 11:13:58 +02:00
Erik Helin
40e186ac67 8048895: Back out JDK-8027915
Reviewed-by: mgerdin, stefank
2014-07-02 11:05:10 +02:00
John Coomes
900ca33ab0 8034246: remove CMS and ParNew adaptive size policy code
Reviewed-by: tschatzl, jwilhelm, mgerdin
2014-06-26 13:30:43 -07:00
Goetz Lindenmaier
f2051ed6fa 8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +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
Stefan Karlsson
fd43773a10 8046670: Make CMS metadata aware closures applicable for other collectors
Reviewed-by: ehelin, mgerdin
2014-06-24 16:20:15 +02:00
Erik Helin
4241d1c605 8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
Reviewed-by: jmasa, sjohanss
2014-06-24 15:50:50 +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