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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user