Any Android JNI developer should be familiar with this wonderful message in logcat. My question is: how can I tell the VM to dump current table state? I need it for debugging purposes to make sure that native threads at exit have no outstanding local references.
Any Android JNI developer should be familiar with this wonderful message in logcat. My
Share
In case somebody needs to do something similar, you can use
dumpReferenceTables from dalvik.system.VMDebug