Code review request: 8002273 NMT to report JNI memory leaks when -Xcheck:jni is on

Zhengyu Gu at
Thu Nov 8 09:23:41 PST 2012

This fix is related to JDK-8001743: Overlapped thread stacks. The cause 
of 8001743 is that, an attached JNI thread exited without detaching the 
thread, so JVM will leak a JavaThread object that attached to the JNI 

The patch allows NMT to report such case when -Xcheck:jni VM option is 



More information about the hotspot-dev mailing list