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

G1: Remove g1_rs in G1CollectedHeap::initialize

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • 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

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

              Created:
              Updated:
              Resolved: