Shenandoah: Skip regions in the back of sorted array when choosing cset

XMLWordPrintable

    • gc

      When choosing regions to add to cset, we sort the regions from most garbage to least garbage. We then iterate the sorted array. We can break early from the loop if we find a region with (garbage <= garbage_threshold). Because we know the regions left won't have enough garbage and won't be added anyway.

            Assignee:
            Yude Lin
            Reporter:
            Yude Lin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: