G1: Remove g1_rs in G1CollectedHeap::initialize

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 16
    • Component/s: hotspot
    • gc
    • b13

      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

            Assignee:
            Thomas Schatzl
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: