Lines Matching refs:thread
149 Thread *self = dvmThreadSelf();
156 * but the compiler thread will only signal once when the queue is
157 * emptied. Furthermore, the compiler thread may have been shutdown
158 * so the blocked thread may never get the wakeup signal.
223 static void crawlDalvikStack(Thread *thread, bool print)
225 void *fp = thread->interpSave.curFrame;
230 LOGD("Crawling tid %d (%s / %p %s)", thread->systemTid,
231 dvmGetThreadStatusStr(thread->status),
232 thread->inJitCodeCache,
233 thread->inJitCodeCache ? "jit" : "interp");
261 (u1 *) (saveArea+1) == thread->interpStackStart);
266 Thread* thread;
271 /* If any thread is found stuck in the JIT state, don't reset the cache */
273 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) {
277 * 2) or the thread stuck in the JIT land will soon return
280 crawlDalvikStack(thread, false);
281 if (thread->inJitCodeCache) {
285 dvmDisableSubMode(thread, kSubModeJitTraceBuild);
342 * or by the compiler thread when its thread state is RUNNING).
396 /* Cache the thread pointer */
593 * VMRuntime.startJitCompiation and when the compiler thread reaches this
635 * Since the compiler thread will not touch any objects on the heap once
664 * compiler thread continue doing compilations to unblock
722 * As part of detaching the thread we need to call into Java code to update
729 LOGD("Compiler thread shutting down");
750 * the compiler thread, which will do the real initialization if and
782 LOGW("Compiler thread join failed");
784 LOGD("Compiler thread has shut down");
792 * thread to be restarted after it exits here. We aren't freeing
806 * The tableLock might not be initialized yet by the compiler thread if
820 * may be executed before the compiler thread has finished