• Home
  • Raw
  • Download

Lines Matching refs:thread

38 bool dvmInitInterpStack(Thread* thread, int stackSize)  in dvmInitInterpStack()  argument
40 assert(thread->interpStackStart != NULL); in dvmInitInterpStack()
42 assert(thread->interpSave.curFrame == NULL); in dvmInitInterpStack()
861 int dvmComputeVagueFrameDepth(Thread* thread, const void* fp) in dvmComputeVagueFrameDepth() argument
863 const u1* interpStackStart = thread->interpStackStart; in dvmComputeVagueFrameDepth()
865 assert((u1*) fp >= interpStackStart - thread->interpStackSize); in dvmComputeVagueFrameDepth()
1089 static bool extractMonitorEnterObject(Thread* thread, Object** pLockObj, in extractMonitorEnterObject() argument
1092 void* framePtr = thread->interpSave.curFrame; in extractMonitorEnterObject()
1157 Thread* thread) in printWaitMessage() argument
1167 if (thread != NULL) { in printWaitMessage()
1168 std::string threadName(dvmGetThreadName(thread)); in printWaitMessage()
1169 StringAppendF(&msg, " held by tid=%d (%s)", thread->threadId, threadName.c_str()); in printWaitMessage()
1188 Thread* thread) in dumpFrames() argument
1246 if (thread->status == THREAD_WAIT || in dumpFrames()
1247 thread->status == THREAD_TIMED_WAIT) in dumpFrames()
1249 Monitor* mon = thread->waitMonitor; in dumpFrames()
1261 } else if (thread->status == THREAD_MONITOR) { in dumpFrames()
1264 if (extractMonitorEnterObject(thread, &obj, &owner)) { in dumpFrames()
1306 void dvmDumpThreadStack(const DebugOutputTarget* target, Thread* thread) in dvmDumpThreadStack() argument
1308 dumpFrames(target, thread->interpSave.curFrame, thread); in dvmDumpThreadStack()
1322 void dvmDumpRunningThreadStack(const DebugOutputTarget* target, Thread* thread) in dvmDumpRunningThreadStack() argument
1331 if (thread == NULL || thread->interpSave.curFrame == NULL) { in dvmDumpRunningThreadStack()
1334 thread, (thread != NULL) ? thread->threadId : 0); in dvmDumpRunningThreadStack()
1342 origSize = thread->interpStackSize; in dvmDumpRunningThreadStack()
1343 origStack = (const u1*) thread->interpStackStart - origSize; in dvmDumpRunningThreadStack()
1345 fpOffset = (u1*) thread->interpSave.curFrame - origStack; in dvmDumpRunningThreadStack()
1382 dumpFrames(target, stackCopy + fpOffset, thread); in dvmDumpRunningThreadStack()