On Fri, 7 Jun 2024 20:56:03 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:

>> I think waiting on JVM_GetThreadInterruptEvent() is necessary during VM 
>> shutdown to allow the blocked thread to exit cleanly.
>
> Interesting. Could you point me to a related bug / documentation / evidence? 
> I tested the WaitForSingleObject version (commit 
> 6524747a5ebc51c760b14e90309c5f18b58b20e2) on Windows 11, and I didn't observe 
> any problems with shutting down the VM

I don't have a test or counter example and don't have a detailed understanding 
of the blocking needs of Hotspot.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19586#discussion_r1631701117

Reply via email to