Integrated: 8323630: GenShen: Control thread may (still) ignore requests to start concurrent GC
William Kemper
wkemper at openjdk.org
Fri Jan 12 17:55:53 UTC 2024
On Fri, 12 Jan 2024 00:24:36 GMT, William Kemper <wkemper at openjdk.org> wrote:
> A race condition exists in which the control thread may clear the `_requested_gc_cause` immediately after a mutator requests an explicit gc. When this happens, the control thread will no longer accept requests from the regulator to start concurrent GC cycles. The mutator thread will never wakeup, eventually the application will run out of memory or no progress will be made.
>
> The change here is intended to simplify the thread communication protocol by reducing the number of variables in play.
This pull request has now been integrated.
Changeset: a40ce859
Author: William Kemper <wkemper at openjdk.org>
URL: https://git.openjdk.org/shenandoah/commit/a40ce85907ca7eb918af0e3563c76f43a203cf71
Stats: 81 lines in 2 files changed: 22 ins; 27 del; 32 mod
8323630: GenShen: Control thread may (still) ignore requests to start concurrent GC
Reviewed-by: ysr, kdnilsen
-------------
PR: https://git.openjdk.org/shenandoah/pull/382
More information about the shenandoah-dev
mailing list