Home | History | Annotate | Download | only in inspector

Lines Matching defs:thread

43         public ThreadSnapshot thread;
45 public ThreadRecord(ProcessSnapshot process, ThreadSnapshot thread) {
47 this.thread = thread;
52 && this.thread == that.thread;
59 hash = hash * 31 + this.thread.hashCode();
68 return this.thread.compareTo(that.thread);
119 * Detect any thread cycles that are affecting the main thread of the given pid.
129 // Seed the traversal with the locks held by the main thread.
144 System.out.println("Offending thread:");
177 for (ThreadSnapshot thread: lr.process.threads) {
178 final Map<String,LockSnapshot> locks = thread.locks;
181 System.out.println("Thread " + thread.tid
184 // This thread is holding the lock (or trying to).
186 addLockRecordsForThread(locksToVisit, locksVisited, lr.process, thread);
187 involvedThreads.add(new ThreadRecord(lr.process, thread));
194 // Add the process / thread pairs into the results
198 System.out.print(" pid=" + tr.process.pid + " \"" + tr.thread.name
199 + "\" (tid=" + tr.thread.tid + ")");
200 if (tr.thread.outboundBinderClass != null) {
201 System.out.print(" outbound=" + tr.thread.outboundBinderPackage + "."
202 + tr.thread.outboundBinderClass + "." + tr.thread.outboundBinderMethod);
204 if (tr.thread.inboundBinderClass != null) {
205 System.out.print(" inbound=" + tr.thread.inboundBinderPackage + "."
206 + tr.thread.inboundBinderClass + "." + tr.thread.inboundBinderMethod);
217 cloneProcess.threads.add(tr.thread);
231 * Add the LockRecords for the locks held by the thread to toVisit, unless
235 TreeSet<LockRecord> alreadyVisited, ProcessSnapshot process, ThreadSnapshot thread) {
236 for (LockSnapshot lock: thread.locks.values()) {