RFR (S/M): 8225478: Make G1CMRootRegions independent of HeapRegions
thomas.schatzl at oracle.com
Fri Jun 7 16:52:27 UTC 2019
can I have reviews for this split-out from JDK-8220089  from
Sangheon? In internal discussions we decided to split up that CR into
multiple parts, but since he's on vacation now I want to get this
reviewed as I want to base some more cleanup work/split-outs on this
Basically, for JDK-8220089 and other purposes we want refactoring for
the G1CMRootRegions class to hold MemRegions instead of HeapRegions.
G1CMRootRegions implicitly uses ntams/top, but in JDK-8220089 top()
(for survivor regions) will not be constant any more at mutator time.
So we need to take a real snapshot of the memory areas that are roots.
That will also help for other future changes.
Since this is basically a split-out of that functionality of JDK-
8220089 webrev.4  (review thread ) apart from some minor comment
editing (i.e. review work), Sangheon will be stated the author.
Which means, that I will act as reviewer, with this change "looks
hs-tier1-3 (Sangheon already pushed 8220080 through hs-tier1-8).
More information about the hotspot-gc-dev