comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 6145:e2fe93124108

7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely Reviewed-by: kvn
author twisti
date Wed, 13 Jun 2012 11:36:03 -0700
parents 20334ed5ed3c
children d2a62e0f25eb 8150fa46d2ed 56c4f88474b3
comparison
equal deleted inserted replaced
6144:5e990493719e 6145:e2fe93124108
842 frame fr = thread->last_frame(); 842 frame fr = thread->last_frame();
843 methodOop method = fr.interpreter_frame_method(); 843 methodOop method = fr.interpreter_frame_method();
844 int bci = method->bci_from(fr.interpreter_frame_bcp()); 844 int bci = method->bci_from(fr.interpreter_frame_bcp());
845 nm = method->lookup_osr_nmethod_for(bci, CompLevel_none, false); 845 nm = method->lookup_osr_nmethod_for(bci, CompLevel_none, false);
846 } 846 }
847 #ifndef PRODUCT
848 if (TraceOnStackReplacement) {
849 if (nm != NULL) {
850 tty->print("OSR entry @ pc: " INTPTR_FORMAT ": ", nm->osr_entry());
851 nm->print();
852 }
853 }
854 #endif
847 return nm; 855 return nm;
848 } 856 }
849 857
850 IRT_ENTRY(nmethod*, 858 IRT_ENTRY(nmethod*,
851 InterpreterRuntime::frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp)) 859 InterpreterRuntime::frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp))