RFR: 8352178: Add precondition in VMThread::execute to prevent deadlock [v2]

Thomas Schatzl tschatzl at openjdk.org
Wed Mar 19 14:35:09 UTC 2025


On Tue, 18 Mar 2025 09:12:02 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Looks reasonable. Have you caught the deadlock like this anywhere, e.g. in development for some feature?
> 

The deadlock can be reproduced if you e.g. remove one of the `SuspendibleThreadSetLeaver`s in the refinement process in PR#23739. But any other should have the same effect.

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

PR Comment: https://git.openjdk.org/jdk/pull/24088#issuecomment-2736864214


More information about the hotspot-runtime-dev mailing list