hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 10014 a5c2141ee857
parent 10004 190e88f7edd1
child 10265 4c869854aebd
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Fri Jul 01 10:35:54 2011 -0700
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Fri Jul 01 10:37:37 2011 -0700
@@ -844,7 +844,7 @@
   const int branch_bci = branch_bcp != NULL ? method->bci_from(branch_bcp) : InvocationEntryBci;
   const int bci = branch_bcp != NULL ? method->bci_from(fr.interpreter_frame_bcp()) : InvocationEntryBci;
 
-  nmethod* osr_nm = CompilationPolicy::policy()->event(method, method, branch_bci, bci, CompLevel_none, thread);
+  nmethod* osr_nm = CompilationPolicy::policy()->event(method, method, branch_bci, bci, CompLevel_none, NULL, thread);
 
   if (osr_nm != NULL) {
     // We may need to do on-stack replacement which requires that no