RFR: Allow young collection to suspend marking in old generation [v14]

earthling-amzn github.com+71722661+earthling-amzn at openjdk.java.net
Mon Mar 1 21:05:25 UTC 2021


On Mon, 1 Mar 2021 18:14:22 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> Prior to these changes, the gc cancellation flag was always set because of an allocation failure, so the flag was cleared on a safepoint (final update refs). Now we have a case where we've "cancelled" a gc, but not because we've run out of memory so we don't need to clear the oom evac handler.
>
> Ok. But I think the OOM handler still needs to be cleared at the safepoint.

Ah yes, sorry. The default value for the boolean is true (to clear the oom handler). I've updated the other callers to pass the argument explicitly.

-------------

PR: https://git.openjdk.java.net/shenandoah/pull/19


More information about the shenandoah-dev mailing list