Lines Matching refs:thread
83 static void visitThreadStack(RootVisitor *visitor, Thread *thread, void *arg) in visitThreadStack() argument
86 assert(thread != NULL); in visitThreadStack()
87 u4 threadId = thread->threadId; in visitThreadStack()
89 for (u4 *fp = (u4 *)thread->interpSave.curFrame; in visitThreadStack()
162 static void visitThread(RootVisitor *visitor, Thread *thread, void *arg) in visitThread() argument
167 assert(thread != NULL); in visitThread()
168 threadId = thread->threadId; in visitThread()
169 (*visitor)(&thread->threadObj, threadId, ROOT_THREAD_OBJECT, arg); in visitThread()
170 (*visitor)(&thread->exception, threadId, ROOT_NATIVE_STACK, arg); in visitThread()
171 visitReferenceTable(visitor, &thread->internalLocalRefTable, threadId, ROOT_NATIVE_STACK, arg); in visitThread()
172 visitIndirectRefTable(visitor, &thread->jniLocalRefTable, threadId, ROOT_JNI_LOCAL, arg); in visitThread()
173 if (thread->jniMonitorRefTable.table != NULL) { in visitThread()
174 visitReferenceTable(visitor, &thread->jniMonitorRefTable, threadId, ROOT_JNI_MONITOR, arg); in visitThread()
176 visitThreadStack(visitor, thread, arg); in visitThread()
184 Thread *thread; in visitThreads() local
188 thread = gDvm.threadList; in visitThreads()
189 while (thread) { in visitThreads()
190 visitThread(visitor, thread, arg); in visitThreads()
191 thread = thread->next; in visitThreads()