Home | History | Annotate | Download | only in qtools

Lines Matching defs:Stack

45 class Stack {
51 Stack() {
60 void Stack::push(frame *pframe) {
62 fprintf(stderr, "Error: stack overflow\n");
69 frame *Stack::pop() {
76 Stack *mStacks[kMaxThreads];
121 // Get the stack for the current thread
122 Stack *mStack = mStacks[proc->pid];
124 // If the stack does not exist, then allocate a new one.
126 mStack = new Stack();
147 // Get the stack for the current thread
150 // If the stack does not exist, then allocate a new one.
158 // Update the stack
177 Stack *mStack = mStacks[pid];
186 // Java method stack
194 // Count the number of Java methods on the native stack
203 // Allow the native stack to have one less Java method because the
204 // native stack might be pushing a native function first.
214 // Verify that the Java methods on the method stack are the same
215 // as the Java methods on the native stack.
218 // Ignore native functions on the native stack.
239 Stack *mStack = mStacks[pid];
243 printf("\nJava method stack\n");
255 printf("\nNative stack\n");