comparison 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
comparison
equal deleted inserted replaced
15493:49a917f9fa07 15494:e20a45d17181
368 368
369 // ------------------------------------------------------------------ 369 // ------------------------------------------------------------------
370 // CompileTask::print_line 370 // CompileTask::print_line
371 void CompileTask::print_line() { 371 void CompileTask::print_line() {
372 ttyLocker ttyl; // keep the following output all in one block 372 ttyLocker ttyl; // keep the following output all in one block
373 // print compiler name if requested
374 if (CIPrintCompilerName) tty->print("%s:", CompileBroker::compiler_name(comp_level()));
375 print_compilation(); 373 print_compilation();
376 } 374 }
377 375
378 376
379 // ------------------------------------------------------------------ 377 // ------------------------------------------------------------------
382 bool is_osr_method, int osr_bci, bool is_blocking, 380 bool is_osr_method, int osr_bci, bool is_blocking,
383 const char* msg, bool short_form) { 381 const char* msg, bool short_form) {
384 if (!short_form) { 382 if (!short_form) {
385 st->print("%7d ", (int) st->time_stamp().milliseconds()); // print timestamp 383 st->print("%7d ", (int) st->time_stamp().milliseconds()); // print timestamp
386 } 384 }
385 // print compiler name if requested
386 if (CIPrintCompilerName) tty->print("%s:", CompileBroker::compiler_name(comp_level));
387 st->print("%4d ", compile_id); // print compilation number 387 st->print("%4d ", compile_id); // print compilation number
388 388
389 // For unloaded methods the transition to zombie occurs after the 389 // For unloaded methods the transition to zombie occurs after the
390 // method is cleared so it's impossible to report accurate 390 // method is cleared so it's impossible to report accurate
391 // information for that case. 391 // information for that case.