--- a/hotspot/src/share/vm/compiler/compileTask.cpp Mon Jul 18 20:45:51 2016 +0200
+++ b/hotspot/src/share/vm/compiler/compileTask.cpp Fri Jul 22 12:47:08 2016 -1000
@@ -186,8 +186,10 @@
void CompileTask::print_tty() {
ttyLocker ttyl; // keep the following output all in one block
// print compiler name if requested
- if (CIPrintCompilerName) tty->print("%s:", CompileBroker::compiler_name(comp_level()));
- print(tty);
+ if (CIPrintCompilerName) {
+ tty->print("%s:", CompileBroker::compiler_name(comp_level()));
+ }
+ print(tty);
}
// ------------------------------------------------------------------