--- 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();
}