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);
137 // Get stack traces of all Threads
146 stack = (StackTraceElement[]) entry.getValue();
147 if (t == null || stack == null) {
151 checkStack(t, stack, depth);
156 private static void checkStack(Thread t, StackTraceElement[] stack,
159 printStack(t, stack);
161 int frame = stack.length - 1;
163 if (! stack[frame].getMethodName().equals(methodNames[i])) {
166 stack[frame].getMethodName());
172 private static void printStack(Thread t, StackTraceElement[] stack) {
174 " stack: (length = " + stack.length + ")");
176 for (int j = 0; j < stack.length; j++) {
177 System.out.println(stack[j]);