diff options
| author | Andy McFadden <fadden@android.com> | 2009-10-22 17:25:57 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2009-10-22 17:25:57 -0700 |
| commit | bfd6d481fa6a7217cafa6d7760674ec927500b5a (patch) | |
| tree | 737220dd9fcaa126c43cb76289f2a217c5480c24 /core/java/android/os/Debug.java | |
| parent | a84a689c11b6a485ee099c32b7b78f04afb51576 (diff) | |
Add a reference table dump call.
This is just an android.os.Debug method that calls into the VM.
Bug 2075355
Diffstat (limited to 'core/java/android/os/Debug.java')
| -rw-r--r-- | core/java/android/os/Debug.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index b4f64b6d4a29..b33e8be4e745 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -753,6 +753,16 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo } /** + * 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. * * Example usage: |
