diff src/share/vm/compiler/compileBroker.cpp @ 15494:e20a45d17181

Move CIPrintCompilerName handling into CompileTask::print_compilation_impl
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 30 Apr 2014 11:48:13 +0200
parents 07fac8558d7b
children 66a9286203a2
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Sun May 04 16:12:44 2014 +0200
+++ b/src/share/vm/compiler/compileBroker.cpp	Wed Apr 30 11:48:13 2014 +0200
@@ -370,8 +370,6 @@
 // CompileTask::print_line
 void CompileTask::print_line() {
   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_compilation();
 }
 
@@ -384,6 +382,8 @@
   if (!short_form) {
     st->print("%7d ", (int) st->time_stamp().milliseconds());  // print timestamp
   }
+  // print compiler name if requested
+  if (CIPrintCompilerName) tty->print("%s:", CompileBroker::compiler_name(comp_level));
   st->print("%4d ", compile_id);    // print compilation number
 
   // For unloaded methods the transition to zombie occurs after the