Lines Matching defs:threads
25 * @summary MonitorDeadlock creates threads that are deadlocked on
50 // make them daemon threads so that the test will exit
58 // Wait until all threads have started
74 // sleep a little so that all threads are blocked before notified.
88 // sleep a little while to wait until threads are blocked.
134 void checkResult(long[] threads) {
135 if (threads.length != EXPECTED_THREADS) {
140 for (int i = 0; i < threads.length; i++) {
142 if (dThreads[j].getId() == threads[i]) {
154 for (int j = 0; j < threads.length; j++) {
155 System.out.print(threads[j] + " ");
160 for (int j = 0; j < threads.length; j++) {