Lines Matching refs:stack
340 // counter overflow in a loop => try to do on-stack-replacement
420 // StackWalkCompPolicy - walk up stack to find a suitable method to compile
454 GrowableArray<RFrame*>* stack = new GrowableArray<RFrame*>(50);
455 stack->push(first);
456 RFrame* top = findTopInlinableFrame(stack);
477 RFrame* StackWalkCompPolicy::findTopInlinableFrame(GrowableArray<RFrame*>* stack) {
478 // go up the stack until finding a frame that (probably) won't be inlined
480 RFrame* current = stack->at(0); // current choice for stopping
486 // before going up the stack further, check if doing so would get us into
488 RFrame* next = senderOf(current, stack);
489 if( !next ) // No next frame up the stack?
592 RFrame* StackWalkCompPolicy::senderOf(RFrame* rf, GrowableArray<RFrame*>* stack) {
594 if (sender && sender->num() == stack->length()) stack->push(sender);