RFR: 8312322: GenShen: Cancelled GCs may become stuck in self-cancellation loop

Kelvin Nilsen kdnilsen at openjdk.org
Thu Jul 20 03:11:11 UTC 2023


On Tue, 18 Jul 2023 22:33:59 GMT, William Kemper <wkemper at openjdk.org> wrote:

> If an old GC is cancelled during its preparation phase, it may not acknowledge the cancellation. This can lead to a situation where the subsequent, interrupting young cycle observes its own cancellation request and does nothing. Which, in turn leads to another request to run a young cycle and so on, ad infinitum.

Thanks for this fix.

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

Marked as reviewed by kdnilsen (Committer).

PR Review: https://git.openjdk.org/shenandoah/pull/298#pullrequestreview-1538345859


More information about the shenandoah-dev mailing list