43 Commits

Author SHA1 Message Date
Mikael Gerdin
ae65f88b0f 8144714: Add extension point to G1 evacuation closures
Reviewed-by: ehelin, jmasa
2015-12-09 16:05:24 +01:00
Stefan Johansson
4b50caadef 8143251: HeapRetentionTest.java Test is failing on jdk9/dev
Reviewed-by: tschatzl, david
2015-11-26 13:13:03 +01:00
Erik Helin
704a098a0e 8142404: Parallelize the restoring of preserved marks
Reviewed-by: mgerdin, tschatzl
2015-11-26 09:50:22 +01:00
Erik Helin
7bb30f51ab 8139892: Allow G1CollectorPolicy to specify if reference processing should be enabled
Reviewed-by: mgerdin, kbarrett, tbenson
2015-10-19 16:33:12 +02:00
Thomas Schatzl
00eb98fb06 Merge 2015-11-25 19:27:38 +00:00
Erik Helin
402195fa55 8142495: Move G1ParEvacuateFollowersClosure to header file
Reviewed-by: sjohanss, brutisso
2015-11-24 15:46:45 +01:00
Thomas Schatzl
66a728fc27 8136681: Factor out IHOP calculation from G1CollectorPolicy
Move out existing IHOP value calculation into an implementation of a new interface called G1IHOPControl. Prepare for changes to accomodate adaptive IHOP implementation.

Reviewed-by: jmasa, mgerdin, ehelin
2015-11-24 10:22:36 +01:00
Derek White
d84d65893b 8143252: Clean up G1CollectedHeap interface
Delete unused methods and parameters

Reviewed-by: mgerdin, tschatzl, pliden
2015-11-19 12:43:08 -05:00
David Lindholm
4bfbb83879 8141434: G1CollectedHeap::into_cset_dirty_card_queue_set should be moved to G1RemSet
Reviewed-by: tschatzl, mgerdin
2015-11-09 11:26:15 +01:00
David Lindholm
6bda88594d 8139867: Change how startsHumongous and continuesHumongous regions work in G1
Reviewed-by: tschatzl, tbenson
2015-11-09 09:19:39 +01:00
Mikael Gerdin
86cf323c41 8139149: Split G1 evacuate_collection_set into multiple steps
Reviewed-by: ehelin, tschatzl
2015-10-14 14:51:10 +02:00
Eric Caspole
4e060cfa31 8060017: G1: Report heap sizing time
Report heap expansion time done on VM thread after collection. Previously this was included in "Other" time.

Reviewed-by: mgerdin, tschatzl
2015-10-20 14:01:49 -04:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00
David Lindholm
9e52e67f3c 8139427: Break out YoungList to own class
Reviewed-by: mgerdin, jwilhelm
2015-10-13 08:37:44 +02:00
Erik Helin
75623819fd 8138969: G1CollectorPolicy should use const for applicable methods
Reviewed-by: mgerdin, jwilhelm
2015-10-07 15:06:52 +02:00
Alexander Harlap
786cdcb65d 8130265: gctests/LargeObjects/large001 fails with OutOfMemoryError: Java heap space
Avoided G1 OutOfMemoryError by adding extra expand heap call

Reviewed-by: jwilhelm, tschatzl
2015-09-30 18:09:40 -04:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Mikael Gerdin
6f11efbbb4 8135154: Move cards scanned and surviving young words aggregation to G1ParScanThreadStateSet
Reviewed-by: tschatzl, ehelin
2015-09-09 14:22:45 +02:00
Mikael Gerdin
2dbd4dd578 8135152: Create a G1ParScanThreadStateSet class for managing G1 GC per thread states
Reviewed-by: tschatzl, ehelin
2015-09-09 10:34:22 +02:00
Kim Barrett
802664728f 8134797: Remove explicit casts in CollectorPolicy hierarchy
Removed the explicit casts.

Reviewed-by: jwilhelm, tschatzl, pliden
2015-09-08 16:00:34 -04:00
Jiangli Zhou
9ee2b211f9 8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
Handle shared string mapping failures.

Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Thomas Schatzl
6cca258181 8040162: Avoid reallocating PLABs between GC phases in G1
Allocate G1ParScanThreadState at the start of GC and only deallocate at the end of GC. This automatically keeps the current PLAB intact without flushing it (and loosing lots of memory) for every reallocation.

Reviewed-by: david, mgerdin
2015-08-20 15:17:43 +02:00
Thomas Schatzl
4a849fb21c 8133530: Add JFR event for evacuation statistics
Introduce two new JFR events for young/old generation allocation statistics based on previous changes.

Reviewed-by: ehelin, mgerdin
2015-08-20 15:17:41 +02:00
Thomas Schatzl
0ade675b8b 8073013: Add detailed information about PLAB memory usage
Track and provide information about direct allocation, region end waste and failure waste for G1.

Reviewed-by: jmasa, david, ehelin, mgerdin
2015-08-19 13:59:39 +02:00
Thomas Schatzl
43a6ce61de 8133470: Uses of Atomic methods in plab.hpp should be moved to .inline.hpp file
Fix include file dependencies according to general guidelines for plab.hpp

Reviewed-by: ehelin, mgerdin
2015-08-19 13:50:50 +02:00
Stefan Karlsson
e25bcfd3d3 8087323: Unify and split the work gang classes
Reviewed-by: jmasa, sjohanss
2015-06-29 11:09: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
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
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
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
Sangheon Kim
3e36930486 8079555: REDO - Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: jmasa, tschatzl
2015-07-07 06:37:10 -07:00
Stefan Johansson
c85e4ae56f 8078901: Add trace event for G1 MMU information
Reviewed-by: ehelin, mlarsson
2015-04-30 13:33:23 +02:00
Bengt Rutisson
7f2ffe8c0e 8129549: G1: Make sure the concurrent thread does not mix its logging with the STW pauses
Reviewed-by: pliden, tschatzl
2015-06-23 13:26:05 +02:00
Tom Benson
df2efa1c37 8042668: GC Support for shared heap ranges in CDS
Added "Archive Region" support to the G1 GC

Reviewed-by: tschatzl, brutisso
2015-06-12 19:49:54 -04:00
David Lindholm
c3f3f0f1bd 8025608: GC trace events missing nursery size information
Reviewed-by: sjohanss, mgerdin
2015-06-12 12:55:32 +02:00
Derek White
24c9ffed42 7097567: G1: abstract and encapsulate collector phases and transitions between them
Reviewed-by: mgerdin, tschatzl
2015-06-05 10:27:41 +02:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Stefan Karlsson
db20c1bc45 8080877: Don't use workers()->total_workers() when walking G1CollectedHeap::_task_queues
Reviewed-by: jmasa, drwhite
2015-05-22 13:35:29 +02:00
Stefan Karlsson
21bb8edbba 8080840: Clean up active_workers() asserts
Reviewed-by: kbarrett, jmasa
2015-05-22 10:58:04 +02:00
Stefan Karlsson
5dc3521a80 8080113: Remove CollectedHeap::set_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:59 +02:00
Per Lidén
4dc240f785 8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00