Code review request: 8002273 NMT to report JNI memory leaks when -Xcheck:jni is on
karen.kinnear at oracle.com
Thu Nov 8 11:21:51 PST 2012
Looks good and thank you for checking that with -Xcheck:jni.
I checked the documentation, and the -Xcheck:jni documentation includes examples, it is not intended to ensure
that we document every detailed check that we made, so it appears that we don't need to add documentation here.
On Nov 8, 2012, at 12:23 PM, Zhengyu Gu wrote:
> 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 thread.
> The patch allows NMT to report such case when -Xcheck:jni VM option is specified.
More information about the hotspot-dev