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

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.

            linade Yude Lin
            linade Yude Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: