RFR: 8264605: vmTestbase/nsk/jvmti/SuspendThread/suspendthrd003/TestDescription.java failed with "agent_tools.cpp, 471: (foundThread = (jthread) jni_env->NewGlobalRef(foundThread)) != NULL"

Leonid Mesnik lmesnik at openjdk.java.net
Wed Nov 24 20:14:12 UTC 2021


On Wed, 24 Nov 2021 02:16:29 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> The new thread is started in nsk_jvmti_runAgentThread which is executed under monitors also as well as nsk_jvmti_resetAgentData. 
>> Could you please point exact location which is not protected? Seems all thread_state changes and agentThread changes are protected.
>
> Sorry @lmesnik I missed the higher-level use of the monitor when starting the thread.

@dholmes-ora, @sspitsyn - Thank you for the review!

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

PR: https://git.openjdk.java.net/jdk/pull/6515


More information about the serviceability-dev mailing list