–Xrunjnichk option
You can use the -Xrunjnichk option to trace JNI calls that are made by your JNI code or by any JVM components that use JNI. This helps you to identify incorrect uses of JNI libraries from native code and can help you to diagnose JNI memory leaks.
JNI memory leaks occur when a JNI thread allocates objects and fails to free them. The Garbage Collector does not have enough information about the JNI thread to know when the object is no longer needed. For more information, see The JNI and the Garbage Collector in the J9 VM reference.
Note that -Xrunjnichk is equivalent to -Xcheck:jni. See Debugging the JNI in the J9 VM reference for information on the -Xrunjnichk suboptions.