hotspot/src/share/vm/code/nmethod.cpp
changeset 46270 2e7898927798
parent 42650 1f304d0c888b
child 46289 1904e7ec236e
--- a/hotspot/src/share/vm/code/nmethod.cpp	Tue Feb 14 19:16:46 2017 -0800
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Tue Feb 14 20:00:28 2017 -0800
@@ -1134,8 +1134,11 @@
       xtty->end_elem();
     }
   }
+
+  const char *state_msg = _state == zombie ? "made zombie" : "made not entrant";
+  CompileTask::print_ul(this, state_msg);
   if (PrintCompilation && _state != unloaded) {
-    print_on(tty, _state == zombie ? "made zombie" : "made not entrant");
+    print_on(tty, state_msg);
   }
 }