hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 46270 2e7898927798
parent 42664 29142a56c193
child 46329 53ccc37bda19
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Feb 14 19:16:46 2017 -0800
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Feb 14 20:00:28 2017 -0800
@@ -2891,9 +2891,11 @@
 
   // Install the generated code.
   if (nm != NULL) {
+    const char *msg = method->is_static() ? "(static)" : "";
+    CompileTask::print_ul(nm, msg);
     if (PrintCompilation) {
       ttyLocker ttyl;
-      CompileTask::print(tty, nm, method->is_static() ? "(static)" : "");
+      CompileTask::print(tty, nm, msg);
     }
     nm->post_compiled_method_load_event();
   }