Lines Matching defs:ti
35 public static void printThreadInfo(ThreadInfo ti) {
36 StringBuilder sb = new StringBuilder("\"" + ti.getThreadName() + "\"" +
37 " Id=" + ti.getThreadId() +
38 " in " + ti.getThreadState());
39 if (ti.getLockName() != null) {
40 sb.append(" on lock=" + ti.getLockName());
42 if (ti.isSuspended()) {
45 if (ti.isInNative()) {
49 if (ti.getLockOwnerName() != null) {
50 System.out.println(INDENT + " owned by " + ti.getLockOwnerName() +
51 " Id=" + ti.getLockOwnerId());
53 StackTraceElement[] stacktrace = ti.getStackTrace();
54 MonitorInfo[] monitors = ti.getLockedMonitors();
103 for (ThreadInfo ti : tinfos) {
104 printThreadInfo(ti);
105 LockInfo[] syncs = ti.getLockedSynchronizers();