Is it possible to use jconsole to identify memory leaks in C ++ JNI objects?

Is it possible to identify selected C ++ distributions? C ++ calls are created using JNI from my Java application, to which I plan to attach jconsole. If possible, tell us how (both in the exported dump file and otherwise) you could see heap objects that remained uncomfortable.

+1
source share
1 answer

Not. C ++ code does not allocate memory anywhere that the JVM can see. (If you are not talking about Java objects extracted from C ++.)

+1
source

All Articles