Lines Matching refs:thread
96 for (Thread thread : array) { in getHeapTaskDaemon()
97 if (thread.getName().equals("HeapTaskDaemon") && in getHeapTaskDaemon()
98 thread.getState() != Thread.State.NEW) { in getHeapTaskDaemon()
99 return thread; in getHeapTaskDaemon()
115 Thread thread = pair.getKey(); in test_getStackTraces() local
118 if (thread == heapDaemon) { in test_getStackTraces()
119 System.out.println(thread.getName() + " depth " + pair.getValue().length); in test_getStackTraces()
130 for (Thread thread : stMap.keySet()) { in test_getId()
131 if (thread.getId() <= 0) { in test_getId()
132 System.out.println("thread's ID is not positive: " + thread.getName()); in test_getId()
134 totalStackFrames.addAndGet(stMap.get(thread).length); in test_getId()