RFR: 8373100: Genshen: Control thread can miss allocation failure notification [v2]
Kelvin Nilsen
kdnilsen at openjdk.org
Fri Dec 5 19:21:56 UTC 2025
On Fri, 5 Dec 2025 18:53:37 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> In some cases, the control thread may fail to observe an allocation failure. This results in the thread which failed to allocate waiting forever for the control thread to run a cycle. Depending on which thread fails to allocate, the process may not make progress.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
>
> Set requested gc cause under a lock when allocation fails
Thanks for diligent testing and analysis. Subtle code here.
-------------
Marked as reviewed by kdnilsen (Committer).
PR Review: https://git.openjdk.org/jdk/pull/28665#pullrequestreview-3546110509
More information about the shenandoah-dev
mailing list