Lines Matching refs:stack
66 // Then dump stack trace and notify ThreadOne to continue.
99 // Get stack trace of current thread
100 StackTraceElement[] stack = getStackTrace();
102 checkStack(this, stack, DONE_DEPTH);
133 // Get stack trace of another thread
134 StackTraceElement[] stack = one.getStackTrace();
135 checkStack(one, stack, depth);
138 // Get stack traces of all Threads
142 stack = entry.getValue();
143 if (t == null || stack == null) {
147 checkStack(t, stack, depth);
152 private static void checkStack(Thread t, StackTraceElement[] stack,
155 printStack(t, stack);
157 int frame = stack.length - 1;
159 if (! stack[frame].getMethodName().equals(methodNames[i])) {
162 stack[frame].getMethodName());
168 private static void printStack(Thread t, StackTraceElement[] stack) {
170 " stack: (length = " + stack.length + ")");
172 for (int j = 0; j < stack.length; j++) {
173 System.out.println(stack[j]);