Integrated: 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected
Serguei Spitsyn
sspitsyn at openjdk.org
Sat Apr 12 07:24:30 UTC 2025
On Thu, 6 Feb 2025 10:45:29 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
> The `get_jvmti_thread_state()` function is called from `JvmtiExport::at_single_stepping_point()`. It can block for virtual threads. Then the `SingleStep` events can be enabled at that point. The incorrect behavior is that the `SingleStep` events will be posted even though the virtual thread has been suspended with the JVMTI `SuspendThread`, `SuspendThreadList`, or `SuspendAllVirtualThreads`. The fix is to add a suspend point for virtual threads to the `get_jvmti_thread_state()` function.
>
> Testing:
> - Ran mach5 tiers 1-6
This pull request has now been integrated.
Changeset: 04ad59de
Author: Serguei Spitsyn <sspitsyn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/04ad59de768b69b4e897a93f46efad9cc25737ad
Stats: 13 lines in 2 files changed: 10 ins; 0 del; 3 mod
8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected
Reviewed-by: dholmes, pchilanomate
-------------
PR: https://git.openjdk.org/jdk/pull/23490
More information about the hotspot-runtime-dev
mailing list