Mercurial > hg > graal-compiler
comparison src/share/vm/code/nmethod.cpp @ 14550:b6aa8c4972aa
Use CIPrintCompilerName in nmethod::print_on
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Sun, 16 Mar 2014 18:36:51 +0100 |
parents | 29ccc4cbabca |
children | b51e29501f30 |
comparison
equal
deleted
inserted
replaced
14549:36d39c597c79 | 14550:b6aa8c4972aa |
---|---|
1023 | 1023 |
1024 // Print out more verbose output usually for a newly created nmethod. | 1024 // Print out more verbose output usually for a newly created nmethod. |
1025 void nmethod::print_on(outputStream* st, const char* msg) const { | 1025 void nmethod::print_on(outputStream* st, const char* msg) const { |
1026 if (st != NULL) { | 1026 if (st != NULL) { |
1027 ttyLocker ttyl; | 1027 ttyLocker ttyl; |
1028 if (CIPrintCompilerName) st->print("%s:", compiler()->name()); | |
1028 if (WizardMode) { | 1029 if (WizardMode) { |
1029 CompileTask::print_compilation(st, this, msg, /*short_form:*/ true); | 1030 CompileTask::print_compilation(st, this, msg, /*short_form:*/ true); |
1030 st->print_cr(" (" INTPTR_FORMAT ")", this); | 1031 st->print_cr(" (" INTPTR_FORMAT ")", this); |
1031 } else { | 1032 } else { |
1032 CompileTask::print_compilation(st, this, msg, /*short_form:*/ false); | 1033 CompileTask::print_compilation(st, this, msg, /*short_form:*/ false); |