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

Refactor HeapRegionManager::find_unavailable_from_idx to simplify expand_at

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • gc
    • b21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: