Withdrawn: 8280579: Shenandoah: Skip regions in the back of sorted array when choosing cset
duke
duke at openjdk.java.net
Fri Mar 25 15:14:52 UTC 2022
On Tue, 25 Jan 2022 10:10:04 GMT, Yude Lin <duke at openjdk.java.net> wrote:
> Can I have review on this small change that skips some unnecessary work in cset choosing?
>
> 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.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7211
More information about the shenandoah-dev
mailing list