Lines Matching refs:Thread
19 Thread.sleep(2000); in main()
29 Thread.sleep(250); in child()
35 private static boolean isReaperThread(Thread t) { in isReaperThread()
41 Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces(); in checkManager()
44 for (Map.Entry<Thread, StackTraceElement[]> entry : in checkManager()
46 Thread t = entry.getKey(); in checkManager()
48 Thread.State state = t.getState(); in checkManager()
50 if (state != Thread.State.RUNNABLE && state != Thread.State.TIMED_WAITING) { in checkManager()
66 Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces(); in waitForReaperTimedWaiting()
71 for (Thread t : traces.keySet()) { in waitForReaperTimedWaiting()
74 Thread.State state = t.getState(); in waitForReaperTimedWaiting()
75 if (state != Thread.State.TIMED_WAITING) { in waitForReaperTimedWaiting()
87 Thread.sleep(100); in waitForReaperTimedWaiting()