G1CollectedHeap::heap_region_containing should actually return nullptr on uncommitted regions

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 20
    • Component/s: hotspot
    • None
    • gc

      Currently G1CollectedHeap::heap_region_containing always returns a valid HeapRegion* even if the region backed by it is uncommitted, contrary to its documentation.

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

              Created:
              Updated:
              Resolved: