hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 12959 4d33f9be7e87
parent 11572 84afef481892
child 13282 9872915dd78d
child 13195 be27e1b6a4b9
child 13293 c2b4f191c489
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Tue Jun 12 16:23:31 2012 -0700
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Wed Jun 13 11:36:03 2012 -0700
@@ -844,6 +844,14 @@
     int bci = method->bci_from(fr.interpreter_frame_bcp());
     nm = method->lookup_osr_nmethod_for(bci, CompLevel_none, false);
   }
+#ifndef PRODUCT
+  if (TraceOnStackReplacement) {
+    if (nm != NULL) {
+      tty->print("OSR entry @ pc: " INTPTR_FORMAT ": ", nm->osr_entry());
+      nm->print();
+    }
+  }
+#endif
   return nm;
 }