Refactor HeapRegionManager::find_unavailable_from_idx to simplify expand_at

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: hotspot
    • gc
    • b21

      Currently find_unavailable_from_idx uses multiple while loops to figure out where we have unavailable regions, this could be simplified by using get_next_zero_offset and get_next_one_offset. When having the start and end of the range of unavailable regions this can be returned to expand_at which can then also be simplified.

            Assignee:
            Stefan Johansson
            Reporter:
            Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: