RFR: 8306324: StopThread results in thread being marked as interrupted, leading to unexpected InterruptedException [v7]
David Holmes
dholmes at openjdk.org
Sat Aug 2 07:00:59 UTC 2025
On Sat, 2 Aug 2025 04:19:22 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Until we process the async exception handshake operation, `HAS_PENDING_EXCEPTION` will be false. The only way for `HAS_PENDING_EXCEPTION` to be true would be if we already entered the method with a pending exception, but I don’t see how that is possible.
>
> Okay, thanks!
I'm pretty sure that once-upon-a-time we would install any async exception in the `ThreadBlockInVM` destructor.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26365#discussion_r2249149459
More information about the serviceability-dev
mailing list