RFR: 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected [v4]

David Holmes dholmes at openjdk.org
Thu Feb 27 21:40:01 UTC 2025


On Thu, 27 Feb 2025 21:33:56 GMT, David Holmes <dholmes 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.
>> 
>> Agreed, thanks.
>
> If we are racing with a suspend request then we cannot win if it could happen at any time.

> It has to be added somewhere between coming out of the blocked state 

Sorry when are we in the blocked state in the current scenario?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23490#discussion_r1974370904


More information about the hotspot-runtime-dev mailing list