Lines Matching refs:Thread
130 * Return a trace buffer for the specified thread or NULL if the
131 * thread is not still alive. *depth is set to the length of a
137 Thread* self = dvmThreadSelf();
138 Thread* thread;
146 * Make sure the thread is still alive and in the list.
148 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) {
149 if (thread->threadObj == targetThreadObj)
152 if (thread == NULL) {
160 * Suspend the thread, pull out the stack trace, then resume the thread
161 * and release the thread list lock. If we're being asked to examine
164 if (thread != self)
165 dvmSuspendThread(thread);
166 traceBuf = dvmFillInStackTraceRaw(thread, pStackDepth);
167 if (thread != self)
168 dvmResumeThread(thread);
175 * public static StackTraceElement[] getThreadStackTrace(Thread t)
177 * Retrieve the stack trace of the specified thread and return it as an
199 * public static int fillStackTraceElements(Thread t, StackTraceElement[] stackTraceElements)
201 * Retrieve a partial stack trace of the specified thread and return
233 { "getThreadStackTrace", "(Ljava/lang/Thread;)[Ljava/lang/StackTraceElement;",
235 { "fillStackTraceElements", "(Ljava/lang/Thread;[Ljava/lang/StackTraceElement;)I",