Lines Matching refs:threads
46 // create deadlocked threads
54 // Let the threads to proceed
66 // create deadlocked threads on synchronizers
69 // Let the threads to proceed
75 long[] threads = findDeadlocks();
76 if (threads == null) {
81 // form a list of newly deadlocked threads
82 long[] newList = new long[threads.length - mthreads.length];
84 for (int i = 0; i < threads.length; i++) {
85 long id = threads[i];
108 System.out.println("Found threads that are in deadlock:-");
109 ThreadInfo[] infos = mbean.getThreadInfo(threads, Integer.MAX_VALUE);
117 long[] threads;
119 threads = mbean.findDeadlockedThreads();
121 threads = mbean.findMonitorDeadlockedThreads();
123 return threads;