Integrated: 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:13 UTC 2021
On Tue, 23 Nov 2021 06:49:47 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> The agentThread variable might have been set by the new agentThread iteration and then deleted in the wrapper from the previous iteration.
>
> The deletion of agentThread variable should be synced with the termination of the agent thread.
This pull request has now been integrated.
Changeset: 96fe1d0d
Author: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/96fe1d0d4d95d87950ff2ecec570a927d831746e
Stats: 27 lines in 2 files changed: 5 ins; 15 del; 7 mod
8264605: vmTestbase/nsk/jvmti/SuspendThread/suspendthrd003/TestDescription.java failed with "agent_tools.cpp, 471: (foundThread = (jthread) jni_env->NewGlobalRef(foundThread)) != NULL"
Reviewed-by: sspitsyn, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/6515
More information about the serviceability-dev
mailing list