hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 11788 bef6166c683c
parent 11639 ff8cfc20d5cb
child 13195 be27e1b6a4b9
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Wed Feb 15 09:43:16 2012 +0100
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Wed Feb 15 10:12:55 2012 -0800
@@ -204,7 +204,8 @@
   }
 
   void log_nmethod(JavaThread* thread, nmethod* nm) {
-    log(thread, "nmethod " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]",
+    log(thread, "nmethod %d%s " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]",
+        nm->compile_id(), nm->is_osr_method() ? "%" : "",
         nm, nm->code_begin(), nm->code_end());
   }