RFR: 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected [v4]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Thu Feb 27 22:30:53 UTC 2025
On Thu, 27 Feb 2025 21:37:19 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> 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?
When trying to get the JvmtiThreadState_lock to create the JvmtiThreadState object:
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x14ba342] Mutex::lock_contended(Thread*)+0x392 (interfaceSupport.inline.hpp:210)
V [libjvm.so+0x14bbf7a] Mutex::lock()+0x9a (mutex.cpp:125)
V [libjvm.so+0x120e9cb] JvmtiEventControllerPrivate::thread_started(JavaThread*)+0x31b (mutexLocker.hpp:196)
V [libjvm.so+0x1212c08] JvmtiExport::get_jvmti_thread_state(JavaThread*)+0x98 (jvmtiExport.cpp:424)
V [libjvm.so+0x121e54a] JvmtiExport::at_single_stepping_point(JavaThread*, Method*, unsigned char*)+0x7a (jvmtiExport.cpp:1332)
V [libjvm.so+0xed8728] InterpreterRuntime::at_safepoint(JavaThread*)+0x118 (interpreterRuntime.cpp:1165)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23490#discussion_r1974426551
More information about the hotspot-runtime-dev
mailing list