Relates :
|
JDK-8242425 introduced the use of direct handshakes for the Monitor query functions in JVM TI. If the direct handshake is executed by the target thread, the JNI local(s) are created in that thread but returned in the handshaking thread. They thus are not safe to use.
|