RFR: 8373100: Genshen: Control thread can miss allocation failure notification [v2]

Xiaolong Peng xpeng at openjdk.org
Thu Dec 11 16:54:14 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 the digging and fixing the issue.

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

Marked as reviewed by xpeng (Committer).

PR Review: https://git.openjdk.org/jdk/pull/28665#pullrequestreview-3568387538


More information about the hotspot-gc-dev mailing list