Add a reference table dump call.

This is just an android.os.Debug method that calls into the VM.

Bug 2075355
This commit is contained in:
Andy McFadden
2009-10-22 17:25:57 -07:00
parent a84a689c11
commit bfd6d481fa

View File

@@ -752,6 +752,16 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
return VMDebug.cacheRegisterMap(classAndMethodDesc);
}
/**
* Dumps the contents of VM reference tables (e.g. JNI locals and
* globals) to the log file.
*
* @hide
*/
public static final void dumpReferenceTables() {
VMDebug.dumpReferenceTables();
}
/**
* API for gathering and querying instruction counts.
*