Home | History | Annotate | Download | only in qtools

Lines Matching refs:top

1398     int top = pstate->method_stack_top;
1403 if (top >= pstate->kMaxMethodStackSize) {
1407 pstate->method_stack[top].addr = method_rec->addr;
1409 pstate->method_stack[top].isNative = isNative;
1410 pstate->method_stack_top = top + 1;
1413 if (top <= 0) {
1418 top -= 1;
1419 addr = pstate->method_stack[top].addr;
1422 // match the top-of-stack address. Native pops don't always match the
1424 if (addr != method_rec->addr && !pstate->method_stack[top].isNative) {
1427 addr, top, method_rec->addr, method_rec->time);
1432 // If we are popping a native method, then the top-of-stack should also
1435 if (poppingNative != pstate->method_stack[top].isNative) {
1438 top, method_rec->time);
1443 pstate->method_stack_top = top;
1444 if (top == 0) {
1449 addr = pstate->method_stack[top - 1].addr;
1450 isNative = pstate->method_stack[top - 1].isNative;
1453 // If the top-of-stack is a native method, then set the current method
1472 // Returns the current top-of-stack Java method, if any, for the given pid
1476 // top of the stack, then this method returns NULL.