hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 12959 4d33f9be7e87
parent 11572 84afef481892
child 13282 9872915dd78d
child 13195 be27e1b6a4b9
child 13293 c2b4f191c489
equal deleted inserted replaced
12958:009b6c9586d8 12959:4d33f9be7e87
   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))