hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 10014 a5c2141ee857
parent 10004 190e88f7edd1
child 10265 4c869854aebd
equal deleted inserted replaced
10013:714ad59b56cb 10014:a5c2141ee857
   842   assert(fr.is_interpreted_frame(), "must come from interpreter");
   842   assert(fr.is_interpreted_frame(), "must come from interpreter");
   843   methodHandle method(thread, fr.interpreter_frame_method());
   843   methodHandle method(thread, fr.interpreter_frame_method());
   844   const int branch_bci = branch_bcp != NULL ? method->bci_from(branch_bcp) : InvocationEntryBci;
   844   const int branch_bci = branch_bcp != NULL ? method->bci_from(branch_bcp) : InvocationEntryBci;
   845   const int bci = branch_bcp != NULL ? method->bci_from(fr.interpreter_frame_bcp()) : InvocationEntryBci;
   845   const int bci = branch_bcp != NULL ? method->bci_from(fr.interpreter_frame_bcp()) : InvocationEntryBci;
   846 
   846 
   847   nmethod* osr_nm = CompilationPolicy::policy()->event(method, method, branch_bci, bci, CompLevel_none, thread);
   847   nmethod* osr_nm = CompilationPolicy::policy()->event(method, method, branch_bci, bci, CompLevel_none, NULL, thread);
   848 
   848 
   849   if (osr_nm != NULL) {
   849   if (osr_nm != NULL) {
   850     // We may need to do on-stack replacement which requires that no
   850     // We may need to do on-stack replacement which requires that no
   851     // monitors in the activation are biased because their
   851     // monitors in the activation are biased because their
   852     // BasicObjectLocks will need to migrate during OSR. Force
   852     // BasicObjectLocks will need to migrate during OSR. Force