--- old/src/share/vm/runtime/sharedRuntime.cpp 2017-01-05 21:28:10.134336145 +0900 +++ new/src/share/vm/runtime/sharedRuntime.cpp 2017-01-05 21:28:10.042335852 +0900 @@ -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(); }