Searched refs:thread (Results 26 - 50 of 56) sorted by relevance

123

/dalvik/vm/
H A DMisc.h235 * Get the current per-thread CPU time. This clock increases monotonically
236 * when the thread is running, but not when it's sleeping or blocked on a
242 * If the thread CPU clock is not available, this always returns (u8)-1.
247 * Per-thread CPU time, in micros.
254 * Like dvmGetThreadCpuTimeNsec, but for a different thread.
256 u8 dvmGetOtherThreadCpuTimeNsec(pthread_t thread);
257 INLINE u8 dvmGetOtherThreadCpuTimeUsec(pthread_t thread) { argument
258 return dvmGetOtherThreadCpuTimeNsec(thread) / 1000;
300 * Get some per-thread stats from /proc/self/task/N/stat.
306 int processor; /* number of CPU that last executed thread */
[all...]
H A DDebugger.h67 Thread* thread; /* don't deref; for comparison only */ member in struct:StepControl
84 /* boolean; set if the JDWP thread wants this thread to do work */
89 Object* thread; member in struct:DebugInvokeReq
120 * Return the DebugInvokeReq for the current thread.
267 void dvmDbgPostThreadStart(Thread* thread);
268 void dvmDbgPostThreadDeath(Thread* thread);
H A DMisc.cpp460 * Get the per-thread CPU time, in nanoseconds.
476 * Get the per-thread CPU time, in nanoseconds, for the specified thread.
478 u8 dvmGetOtherThreadCpuTimeNsec(pthread_t thread) argument
483 if (pthread_getcpuclockid(thread, &clockId) != 0)
509 * thread, the kernel might not actually transfer control elsewhere.
634 * Get some per-thread stats.
H A DException.cpp809 * Pass in the thread whose stack we're interested in. If "thread" is
810 * not self, the thread must be suspended. This implies that the thread
823 void* dvmFillInStackTraceInternal(Thread* thread, bool wantObject, size_t* pCount) argument
834 fp = thread->interpSave.curFrame;
836 assert(thread == dvmThreadSelf() || dvmIsSuspended(thread));
1157 * Print the stack trace of the current thread's exception, as well as
/dalvik/vm/compiler/
H A DCompiler.cpp160 * but the compiler thread will only signal once when the queue is
161 * emptied. Furthermore, the compiler thread may have been shutdown
162 * so the blocked thread may never get the wakeup signal.
238 static void crawlDalvikStack(Thread *thread, bool print) argument
240 void *fp = thread->interpSave.curFrame;
245 ALOGD("Crawling tid %d (%s / %p %s)", thread->systemTid,
246 dvmGetThreadStatusStr(thread->status),
247 thread->inJitCodeCache,
248 thread->inJitCodeCache ? "jit" : "interp");
276 (u1 *) (saveArea+1) == thread
281 Thread* thread; local
[all...]
H A DFrontend.cpp384 * Crawl the stack of the thread that requesed compilation to see if any of the
387 static bool filterMethodByCallGraph(Thread *thread, const char *curMethodName) argument
390 StackSaveArea *ssaPtr = ((StackSaveArea *) thread->interpSave.curFrame) - 1;
1584 * dvmJitInstallClassObjectPointers will switch the thread state
2156 * dvmJitInstallClassObjectPointers will switch the thread state
/dalvik/hit/src/com/android/hit/
H A DHprofParser.java356 ThreadObj thread = mState.getThread(threadSerialNumber);
357 StackTrace trace = mState.getStackTraceAtDepth(thread.mStackTrace,
372 ThreadObj thread = mState.getThread(threadSerialNumber);
373 StackTrace trace = mState.getStackTraceAtDepth(thread.mStackTrace,
387 ThreadObj thread = mState.getThread(threadSerialNumber);
388 StackTrace trace = mState.getStackTrace(thread.mStackTrace);
411 ThreadObj thread = mState.getThread(threadSerialNumber);
412 StackTrace stack = mState.getStackTrace(thread.mStackTrace);
426 ThreadObj thread = new ThreadObj(id, stackSerialNumber);
428 mState.addThread(thread, threadSerialNumbe
[all...]
H A DHeap.java83 public final void addThread(ThreadObj thread, int serialNumber) { argument
84 mThreads.put(serialNumber, thread);
H A DState.java95 public final void addThread(ThreadObj thread, int serialNumber) { argument
96 mCurrentHeap.addThread(thread, serialNumber);
/dalvik/vm/alloc/
H A DCopying.cpp57 * The block queue exists to thread lists of blocks from the various
1513 static void scavengeThreadStack(Thread *thread)
1520 framePtr = (const u4 *)thread->interpSave.curFrame;
1557 * for interp method #1, but thread->currentPc2 is still
1573 if (saveArea->xtra.currentPc != thread->currentPc2) {
1575 saveArea->xtra.currentPc, thread->currentPc2,
1579 if (thread->currentPc2 != NULL)
1580 ALOGE(" pc2 inst = 0x%04x", *thread->currentPc2);
1581 dvmDumpThread(thread, false);
1619 thread
[all...]
H A DMarkSweep.cpp145 static void rootMarkObjectVisitor(void *addr, u4 thread, RootType type, argument
161 * - For each thread:
192 static void rootReMarkObjectVisitor(void *addr, u4 thread, RootType type, argument
704 * scheduled for appending by the heap worker thread.
/dalvik/vm/compiler/template/armv5te/
H A DTEMPLATE_INVOKE_METHOD_PREDICTED_CHAIN.S51 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
H A DTEMPLATE_INVOKE_METHOD_NATIVE.S28 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
H A Dfooter.S13 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
/dalvik/vm/interp/
H A DInterpState.h101 typedef bool (*SafePointCallback)(struct Thread* thread, void* arg);
H A DJit.cpp36 /* Allocate space for per-thread ShadowSpace data structures */
50 /* Free per-thread ShadowSpace data structures */
58 * Save out PC, FP, thread state, and registers to shadow space.
436 * of this value in their private thread structures and won't see
442 * free it because some thread may be holding a reference.
583 * some other thread allocated the slot we were looking
601 /* Another thread got there first for this dPC */
1090 * thread is in a single-step mode.
1100 * thread is in a single-step mode.
1259 * detected by the compiler thread an
1497 dvmJitUpdateThreadStateSingle(Thread* thread) argument
1510 Thread* thread; local
[all...]
/dalvik/vm/compiler/template/mips/
H A DTEMPLATE_INVOKE_METHOD_NATIVE.S33 lw t6, offThread_jniLocal_topCookie(rSELF) # t6<- thread->localRef->...
H A Dfooter.S12 lw t9, offThread_jniLocal_topCookie(rSELF) # t9<- thread->localRef->...
/dalvik/vm/native/
H A Ddalvik_system_Zygote.cpp356 * easy to handle, because the JDWP thread isn't started until we call
367 * This is easy to handle because the compiler thread and associated resources
653 // a single-threaded process, so we know no other thread held the heap
659 * Our system thread ID has changed. Get the new one.
661 Thread* thread = dvmThreadSelf(); local
662 thread->systemTid = dvmGetSysThreadId();
/dalvik/vm/compiler/template/out/
H A DCompilerTemplateAsm-armv5te.S65 r6 rSELF thread pointer
266 @ Update "thread" values for the new method
324 @ Update "thread" values for the new method
394 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
437 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
1111 * rSELF - pointer to thread
1137 * Call out to the runtime to lock an object. Because this thread
1339 @ Update "thread" values for the new method
1401 @ Update "thread" values for the new method
1475 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
[all...]
H A DCompilerTemplateAsm-armv7-a-neon.S65 r6 rSELF thread pointer
266 @ Update "thread" values for the new method
324 @ Update "thread" values for the new method
394 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
437 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
901 * rSELF - pointer to thread
927 * Call out to the runtime to lock an object. Because this thread
1129 @ Update "thread" values for the new method
1191 @ Update "thread" values for the new method
1265 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
[all...]
H A DCompilerTemplateAsm-armv7-a.S65 r6 rSELF thread pointer
266 @ Update "thread" values for the new method
324 @ Update "thread" values for the new method
394 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
437 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
901 * rSELF - pointer to thread
927 * Call out to the runtime to lock an object. Because this thread
1129 @ Update "thread" values for the new method
1191 @ Update "thread" values for the new method
1265 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
[all...]
H A DCompilerTemplateAsm-armv5te-vfp.S65 r6 rSELF thread pointer
266 @ Update "thread" values for the new method
324 @ Update "thread" values for the new method
394 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
437 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
1380 * rSELF - pointer to thread
1406 * Call out to the runtime to lock an object. Because this thread
1608 @ Update "thread" values for the new method
1670 @ Update "thread" values for the new method
1744 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
[all...]
/dalvik/vm/mterp/armv5te/
H A Dfooter.S446 * State registers will be saved to the "thread" area before bailing
450 SAVE_PC_FP_TO_SELF() @ export state to "thread"
637 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
990 LOAD_PC_FP_FROM_SELF() @ pull rPC and rFP out of thread
/dalvik/vm/mterp/mips/
H A Dfooter.S458 * State registers will be saved to the "thread" area before bailing
463 SAVE_PC_FP_TO_SELF() # export state to "thread"
1000 LOAD_PC_FP_FROM_SELF() # pull rPC and rFP out of thread

Completed in 367 milliseconds

123