equal
deleted
inserted
replaced
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)) |