RFR: 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected [v4]
David Holmes
dholmes at openjdk.org
Mon Feb 24 02:09:06 UTC 2025
On Fri, 21 Feb 2025 16:49:47 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> In general we delay suspension until going back to Java or coming out of native, and avoid suspending in the transitions out of a blocked state because we could be holding VM monitors
That sounds reasonable but we must also not post any events if we are suspended, which means we have to have checks that there are no locks held if are going to do this deferred suspension. But I would expect many blocked transitions to relate to something that will causes events to be posted, so do we end up effectively doing the suspension check when coming out of the blocked state? I'm still missing the complete big picture here.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23490#discussion_r1966979396
More information about the hotspot-runtime-dev
mailing list