RFR: Reset coalesce and fill boundary during global collect
Kelvin Nilsen
kdnilsen at openjdk.java.net
Thu Oct 14 22:47:10 UTC 2021
On Thu, 14 Oct 2021 22:27:49 GMT, William Kemper <wkemper at openjdk.org> wrote:
> Normally, this happens during cset selection for the old generation. It also needs to happen for coalesce and fill at the end of global collections or objects may not be filled.
I'm actually not sure this is the right way to fix this. The implementation of ShenandoahHeapRegion::oop_fill_and_coalesce() does not re-register surviving objects. It only registers the result of coalescing previously independent objects.
If we feel a need for this fix, maybe the bug is in the implementation of heap->card_scan()->coalesce_objects().
-------------
PR: https://git.openjdk.java.net/shenandoah/pull/90
More information about the shenandoah-dev
mailing list