JDK-8225478 : Make G1CMRootRegions independent of HeapRegions
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-07
  • Updated: 2019-06-14
  • Resolved: 2019-06-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13 JDK 14
13 b25Fixed 14Fixed
Related Reports
Relates :  
Description
G1CMRootRegions is used to store the ranges of memory that needs to be scanned through for references into the old gen heap below TAMS before marking, as roots.

Currently for storing the area to scan, it stores HeapRegions and uses its members to determine the actual range of memory that it needs to scan.

For some future improvements (e.g. JDK-8220089, but also others) this is too inflexible as the HeapRegion members change concurrently to that root region scanning.

Change the code to get passed raw MemRegions instead so that this dependency on HeapRegion members (and HeapRegion itself) goes away.

This is a split-off of JDK-8220089.