The main method for doing young collection (everything in G1CollectedHeap::do_collection_pause_at_safepoint()) should be reorganized a little - it's one of the larger methods in G1CollectedHeap code and over time got really messy.
There is a bit of everything here mixed together implicating dependencies where there are likely none. Group together related initialization (collection set, alloc regions, ...) a bit more.
(This is considered a first attempt on cleaning this problem up a little, not necessarily a full-scale refactoring)
There is a bit of everything here mixed together implicating dependencies where there are likely none. Group together related initialization (collection set, alloc regions, ...) a bit more.
(This is considered a first attempt on cleaning this problem up a little, not necessarily a full-scale refactoring)
- blocks
-
JDK-8218668 Clean up evacuation of optional collection set
-
- Resolved
-
- is blocked by
-
JDK-8219748 Add and use getter for the timing object in G1
-
- Resolved
-