ZGC: Clean up ZRelocationSetSelectorGroup::semi_sort()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: 11, 12
    • Component/s: hotspot
    • gc
    • b09

      A cleanup of ZRelocationSetSelectorGroup::semi_sort() can save us 16K worth of stack space, by having one single array act as both "slots" and "fingers". This works because the "slots" array is just an intermediate step when calculating the "fingers", and the different uses don't overlap.

            Assignee:
            Per Liden (Inactive)
            Reporter:
            Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: