diff -r 7e725659ea12 -r 2e7898927798 hotspot/src/share/vm/code/nmethod.cpp --- 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); } }