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

G1: Remove g1_rs in G1CollectedHeap::initialize

    XMLWordPrintable

    Details

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

      Description

      G1CollectedHeap::initialize uses a g1_rs variable that is a copy of heap_rs.

      That is unnecessary and confuses when trying to argue about equality of CollectedHeap::_reserved and HeapRegionManager::reserved().

      Remove this

        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: