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

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

    XMLWordPrintable

Details

    • gc

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: