-
Enhancement
-
Resolution: Fixed
-
P4
-
23
-
b22
In G1 the G1CollectionSetChooser removes/prunes regions that meet the G1HeapWastePercent criteria detailed in JDK-8262185 in the Cleanup pause. These regions are removed from possible evacuation and their remembered sets cleared.
This implies that the work done in rebuilding these remembered sets is wasted. We can prune these regions before the rebuild during Remark and thus not construct these remembered sets which would eventually be cleared anyway.
Moving this pruning improves rebuild time in addition to remembered set memory usage.
This implies that the work done in rebuilding these remembered sets is wasted. We can prune these regions before the rebuild during Remark and thus not construct these remembered sets which would eventually be cleared anyway.
Moving this pruning improves rebuild time in addition to remembered set memory usage.
- relates to
-
JDK-8262185 G1: Prune collection set candidates early
- Resolved