/dalvik/vm/ |
D | Thread.h | 92 typedef struct Thread { struct 196 struct Thread* waitNext; argument 208 struct Thread* prev; argument 209 struct Thread* next; argument 242 } Thread; argument 256 volatile Thread** pThread; 272 Thread* dvmThreadSelf(void); 275 void dvmLockThreadList(Thread* self); 297 void dvmSuspendThread(Thread* thread); 299 void dvmResumeThread(Thread* thread); [all …]
|
D | Sync.h | 68 struct Thread; 90 void dvmLockObject(struct Thread* self, struct Object* obj); 95 bool dvmUnlockObject(struct Thread* self, struct Object* obj); 100 void dvmObjectWait(struct Thread* self, struct Object* obj, 102 void dvmObjectNotify(struct Thread* self, struct Object* obj); 103 void dvmObjectNotifyAll(struct Thread* self, struct Object* obj); 120 void dvmThreadInterrupt(struct Thread* thread); 149 struct Thread* dvmGetObjectLockHolder(struct Object* obj); 154 bool dvmHoldsLock(struct Thread* thread, struct Object* obj);
|
D | JniInternal.h | 44 Thread* self; 105 INLINE void dvmPopJniLocals(Thread* self, StackSaveArea* saveArea) in dvmPopJniLocals() 117 INLINE void dvmSetJniEnvThreadId(JNIEnv* pEnv, Thread* self) in dvmSetJniEnvThreadId() 129 const Method* method, Thread* self); 131 const Method* method, Thread* self); 133 const Method* method, Thread* self); 135 const Method* method, Thread* self); 137 const Method* method, Thread* self); 139 const Method* method, Thread* self); 141 const Method* method, Thread* self); [all …]
|
D | Exception.h | 92 INLINE Object* dvmGetException(Thread* self) { in dvmGetException() 99 INLINE void dvmSetException(Thread* self, Object* exception) in dvmSetException() 112 INLINE void dvmClearException(Thread* self) { in dvmClearException() 121 void dvmClearOptException(Thread* self); 127 INLINE bool dvmCheckException(Thread* self) { in dvmCheckException() 175 int dvmFindCatchBlock(Thread* self, int relPc, Object* exception, 186 void* dvmFillInStackTraceInternal(Thread* thread, bool wantObject, int* pCount); 188 INLINE Object* dvmFillInStackTrace(Thread* thread) { in dvmFillInStackTrace() 193 INLINE int* dvmFillInStackTraceRaw(Thread* thread, int* pCount) { in dvmFillInStackTraceRaw()
|
D | Thread.c | 230 static Thread* allocThread(int interpStackSize); 231 static bool prepareThread(Thread* thread); 232 static void setThreadSelf(Thread* thread); 233 static void unlinkThread(Thread* thread); 234 static void freeThread(Thread* thread); 235 static void assignThreadId(Thread* thread); 236 static bool createFakeEntryFrame(Thread* thread); 237 static bool createFakeRunFrame(Thread* thread); 240 static void threadExitUncaughtException(Thread* thread, Object* group); 242 static void waitForThreadSuspend(Thread* self, Thread* thread); [all …]
|
D | Native.h | 80 const Method* method, struct Thread* self); 117 struct Thread; 119 void dvmLogNativeMethodExit(const Method* method, struct Thread* self,
|
/dalvik/vm/interp/ |
D | Stack.h | 184 bool dvmInitInterpStack(Thread* thread, int stackSize); 190 bool dvmPushJNIFrame(Thread* thread, const Method* method); 195 bool dvmPushLocalFrame(Thread* thread, const Method* method); 196 bool dvmPopLocalFrame(Thread* thread); 205 void dvmCallMethod(Thread* self, const Method* method, Object* obj, 207 void dvmCallMethodV(Thread* self, const Method* method, Object* obj, 209 void dvmCallMethodA(Thread* self, const Method* method, Object* obj, 241 int dvmComputeVagueFrameDepth(Thread* thread, const void* fp); 279 void dvmHandleStackOverflow(Thread* self, const Method* method); 280 void dvmCleanupStackOverflow(Thread* self, const Object* exception); [all …]
|
D | Interp.h | 27 void dvmInterpret(Thread* thread, const Method* method, JValue* pResult); 49 bool dvmAddSingleStep(Thread* thread, int size, int depth); 50 void dvmClearSingleStep(Thread* thread);
|
D | InterpDefs.h | 118 Thread* self; 191 extern bool dvmInterpretDbg(Thread* self, InterpState* interpState); 192 extern bool dvmInterpretStd(Thread* self, InterpState* interpState); 199 extern bool dvmMterpStd(Thread* self, InterpState* interpState); 209 void dvmInterpCheckTrackedRefs(Thread* self, const Method* method,
|
D | Jit.h | 64 void* dvmSelfVerificationShadowSpaceAlloc(Thread* self); 65 void dvmSelfVerificationShadowSpaceFree(Thread* self); 112 int dvmCheckJit(const u2* pc, Thread* self, InterpState* interpState, 115 bool dvmJitCheckTraceRequest(Thread* self, InterpState* interpState);
|
/dalvik/tests/039-join-main/src/ |
D | Main.java | 8 Thread t; in main() 10 t = new Thread(new JoinMainSub(Thread.currentThread()), "Joiner"); in main() 14 try { Thread.sleep(1000); } in main() 22 private Thread mJoinMe; 24 public JoinMainSub(Thread joinMe) { in JoinMainSub()
|
/dalvik/tests/054-uncaught/src/ |
D | Main.java | 16 Thread t = new Helper(which); in testThread() 33 Thread.setDefaultUncaughtExceptionHandler(defHandler); in catchTheUncaught() 37 Thread.currentThread().setUncaughtExceptionHandler( in catchTheUncaught() 42 Thread.setDefaultUncaughtExceptionHandler(defHandler); in catchTheUncaught() 43 Thread.currentThread().setUncaughtExceptionHandler( in catchTheUncaught() 52 private static class Helper extends Thread {
|
D | ThreadDeathHandler.java | 3 import java.lang.Thread.UncaughtExceptionHandler; 8 public class ThreadDeathHandler implements Thread.UncaughtExceptionHandler { 15 public void uncaughtException(Thread t, Throwable e) { in uncaughtException()
|
/dalvik/tests/033-class-init-deadlock/src/ |
D | Main.java | 13 Thread thread1, thread2; in main() 16 thread1 = new Thread() { public void run() { new A(); } }; in main() 17 thread2 = new Thread() { public void run() { new B(); } }; in main() 21 try { Thread.sleep(6000); } catch (InterruptedException ie) { } in main() 36 try { Thread.sleep(3000); } catch (InterruptedException ie) { } 46 try { Thread.sleep(3000); } catch (InterruptedException ie) { }
|
/dalvik/tests/063-process-manager/src/ |
D | Main.java | 9 Thread.sleep(2000); in main() 19 Thread.sleep(1000); in child() 26 Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces(); in checkManager() 29 for (Map.Entry<Thread, StackTraceElement[]> entry : in checkManager() 31 Thread t = entry.getKey(); in checkManager()
|
/dalvik/tests/051-thread/src/ |
D | Main.java | 12 Thread.sleep(1); in main() 23 Thread t = new Thread(null, new ThreadTestSub(), "Thready", 7168); in go() 42 static class MyThread extends Thread { 55 Thread.currentThread().setDaemon(true); in run() 64 Thread.sleep(2000); in run()
|
/dalvik/tests/050-sync-test/src/ |
D | ThreadDeathHandler.java | 3 import java.lang.Thread.UncaughtExceptionHandler; 8 public class ThreadDeathHandler implements Thread.UncaughtExceptionHandler { 15 public void uncaughtException(Thread t, Throwable e) { in uncaughtException()
|
D | Main.java | 25 Thread.sleep(1000); in sleepTest() 44 Thread.sleep(100); in countTest() 77 class CpuThread extends Thread { 122 class SleepyThread extends Thread { 142 Thread.currentThread().setUncaughtExceptionHandler(threadHandler); in run() 156 System.out.println(Thread.currentThread().getName() + in run() 157 " interrupted, flag=" + Thread.interrupted()); in run() 168 Thread.sleep(2000); in run()
|
/dalvik/tests/083-jit-regressions/src/ |
D | Main.java | 57 SpinThread slow = new SpinThread(Thread.MIN_PRIORITY); in b2302318Test() 58 SpinThread fast1 = new SpinThread(Thread.NORM_PRIORITY); in b2302318Test() 59 SpinThread fast2 = new SpinThread(Thread.MAX_PRIORITY); in b2302318Test() 69 Thread.sleep(3000); in b2302318Test() 110 class SpinThread extends Thread {
|
/dalvik/tests/036-finalizer/src/ |
D | Main.java | 14 Thread.sleep(ms); in snooze() 28 Thread t = new Thread() { in makeRef() 55 Thread t = new Thread() { in wimpString()
|
/dalvik/vm/native/ |
D | java_lang_VMThread.c | 61 Thread* thread; in Dalvik_java_lang_VMThread_getStatus() 85 Thread* thread; in Dalvik_java_lang_VMThread_holdsLock() 108 Thread* thread; in Dalvik_java_lang_VMThread_interrupt() 126 Thread* self = dvmThreadSelf(); in Dalvik_java_lang_VMThread_interrupted() 146 Thread* thread; in Dalvik_java_lang_VMThread_isInterrupted() 170 Thread* thread; in Dalvik_java_lang_VMThread_nameChanged() 200 Thread* thread; in Dalvik_java_lang_VMThread_setPriority()
|
D | java_lang_Object.c | 65 const Method* method, Thread* self) in Dalvik_java_lang_Object_notify() 77 const Method* method, Thread* self) in Dalvik_java_lang_Object_notifyAll() 89 const Method* method, Thread* self) in Dalvik_java_lang_Object_wait()
|
/dalvik/vm/mterp/common/ |
D | asm-constants.h | 188 MTERP_OFFSET(offThread_stackOverflowed, Thread, stackOverflowed, 36) 189 MTERP_OFFSET(offThread_curFrame, Thread, curFrame, 40) 190 MTERP_OFFSET(offThread_exception, Thread, exception, 44) 193 MTERP_OFFSET(offThread_inJitCodeCache, Thread, inJitCodeCache, 72) 195 MTERP_OFFSET(offThread_shadowSpace, Thread, shadowSpace, 76) 198 Thread, jniLocalRefTable.segmentState.all, 80) 201 Thread, jniLocalRefTable.nextEntry, 80) 206 Thread, jniLocalRefTable.segmentState.all, 76) 209 Thread, jniLocalRefTable.nextEntry, 76) 215 Thread, jniLocalRefTable.segmentState.all, 72) [all …]
|
/dalvik/tests/084-class-init/src/ |
D | Main.java | 25 Thread.sleep(msec); in sleep() 72 static class FieldThread extends Thread { 84 static class MethodThread extends Thread {
|
/dalvik/tests/067-preemptive-unpark/src/ |
D | Main.java | 27 Thread.sleep(1500); in main() 81 private static class ParkTester extends Thread { 88 Thread.sleep(500); in run()
|