/dalvik/vm/ |
H A D | Misc.h | 235 * 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 D | Debugger.h | 67 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 D | Misc.cpp | 460 * 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 D | Exception.cpp | 809 * 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 D | Compiler.cpp | 160 * 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 D | Frontend.cpp | 384 * 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 D | HprofParser.java | 356 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 D | Heap.java | 83 public final void addThread(ThreadObj thread, int serialNumber) { argument 84 mThreads.put(serialNumber, thread);
|
H A D | State.java | 95 public final void addThread(ThreadObj thread, int serialNumber) { argument 96 mCurrentHeap.addThread(thread, serialNumber);
|
/dalvik/vm/alloc/ |
H A D | Copying.cpp | 57 * 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 D | MarkSweep.cpp | 145 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 D | TEMPLATE_INVOKE_METHOD_PREDICTED_CHAIN.S | 51 strne r1, [rSELF, #offThread_icRechainCount] @ write back to thread
|
H A D | TEMPLATE_INVOKE_METHOD_NATIVE.S | 28 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
|
H A D | footer.S | 13 ldr r9, [rSELF, #offThread_jniLocal_topCookie]@r9<-thread->localRef->...
|
/dalvik/vm/interp/ |
H A D | InterpState.h | 101 typedef bool (*SafePointCallback)(struct Thread* thread, void* arg);
|
H A D | Jit.cpp | 36 /* 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 D | TEMPLATE_INVOKE_METHOD_NATIVE.S | 33 lw t6, offThread_jniLocal_topCookie(rSELF) # t6<- thread->localRef->...
|
H A D | footer.S | 12 lw t9, offThread_jniLocal_topCookie(rSELF) # t9<- thread->localRef->...
|
/dalvik/vm/native/ |
H A D | dalvik_system_Zygote.cpp | 356 * 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 D | CompilerTemplateAsm-armv5te.S | 65 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 D | CompilerTemplateAsm-armv7-a-neon.S | 65 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 D | CompilerTemplateAsm-armv7-a.S | 65 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 D | CompilerTemplateAsm-armv5te-vfp.S | 65 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 D | footer.S | 446 * 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 D | footer.S | 458 * 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
|