|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdalvik.system.VMStack
public final class VMStack
VM-internal classes for examining a stack.
| Constructor Summary | |
|---|---|
VMStack()
|
|
| Method Summary | |
|---|---|
static ClassLoader |
getCallingClassLoader()
Return the defining class loader of the caller's caller. |
static ClassLoader |
getCallingClassLoader2()
Return the defining class loader of the caller's caller's caller. |
static Class<?>[] |
getClasses(int maxDepth,
boolean stopAtPrivileged)
Create an array of classes from the methods at the top of the stack. |
static StackTraceElement[] |
getThreadStackTrace(Thread t)
Retrieve the stack trace from the specified thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VMStack()
| Method Detail |
|---|
public static ClassLoader getCallingClassLoader()
public static ClassLoader getCallingClassLoader2()
public static Class<?>[] getClasses(int maxDepth,
boolean stopAtPrivileged)
maxDepth - maximum number of classes to return, or -1 for allstopAtPrivileged - stop when a privileged frame is reached
public static StackTraceElement[] getThreadStackTrace(Thread t)
t - thread of interest
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||