RFR: 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected [v4]
David Holmes
dholmes at openjdk.org
Tue Feb 25 07:36:52 UTC 2025
On Mon, 24 Feb 2025 18:58:41 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> But note this same issue can happen with other events, the test is just checking for single step.
Does that mean we need the suspension check (and suspend) at other locations?
I am looking at `JRT_ENTRY` and it uses `ThreadInVMfromJava` - so why are we not checking for suspension in that transition somewhere, or else somewhere directly in the JRT_ENTRY? I guess maybe not all JRT_ENTRY points are safe for suspension? But then how do we know all the callers of `get_jvmti_thread_state` are safe for suspension?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23490#discussion_r1969133633
More information about the hotspot-runtime-dev
mailing list