RFR: 8333742: ProcessImpl and ProcessHandleImpl may mishandle processes that exit with code 259
Roger Riggs
rriggs at openjdk.org
Fri Jun 7 21:16:13 UTC 2024
On Fri, 7 Jun 2024 20:56:03 GMT, Daniel Jeliński <djelinski at 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
More information about the core-libs-dev
mailing list