RFR: 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected [v4]
David Holmes
dholmes at openjdk.org
Thu Feb 27 21:37:09 UTC 2025
On Thu, 27 Feb 2025 15:38:49 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Adding a suspend check there won’t fix this issue though. It has to be added somewhere between coming out of the blocked state (where the thread can be seen as handshake-safe and suspended) and posting the event.
>
>> Adding a suspend check there won’t fix this issue though. It has to be added somewhere between coming out of the blocked state (where the thread can be seen as handshake-safe and suspended) and posting the event.
>
> Agreed, thanks.
If we are racing with a suspend request then we cannot win if it could happen at any time.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23490#discussion_r1974367081
More information about the hotspot-runtime-dev
mailing list