hotspot/src/share/vm/code/nmethod.cpp
changeset 6454 c1604edff2b8
parent 6453 970dc585ab63
child 6771 3f9a5f169070
--- a/hotspot/src/share/vm/code/nmethod.cpp	Fri Sep 03 17:51:07 2010 -0700
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Tue Sep 07 14:16:50 2010 -0700
@@ -971,7 +971,9 @@
     ttyLocker ttyl;
     print_compilation(st, /*method_name*/NULL, title,
                       method(), /*is_blocking*/false,
-                      compile_id(), osr_entry_bci(), comp_level());
+                      compile_id(),
+                      is_osr_method() ? osr_entry_bci() : InvocationEntryBci,
+                      comp_level());
     if (WizardMode) st->print(" (" INTPTR_FORMAT ")", this);
   }
 }