Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view JNI local reference table?

Is there any way to see contents of the JNI local reference table?

I can see it if I got a crash when it's overflowed, via android LogCat, and there is a lot of info about referenced objects, unique instances etc. which helps to catch potential memory leaks.

Thanks.

like image 212
Frederic Blase Avatar asked Oct 18 '12 14:10

Frederic Blase


1 Answers

Please refer CheckJNI.

It can catch number of common error. For ICS CheckJNI is on by default if debuggable="true" in your Manifest.xml.

Thanks

like image 51
Sukane Avatar answered Nov 01 '22 08:11

Sukane