Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8225478

Make G1CMRootRegions independent of HeapRegions

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b25

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tschatzl Thomas Schatzl
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: