changeset 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 36d39c597c79
children bf7d914b8ef7
files src/share/vm/code/nmethod.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp	Sun Mar 16 19:19:53 2014 +0100
+++ b/src/share/vm/code/nmethod.cpp	Sun Mar 16 18:36:51 2014 +0100
@@ -1025,6 +1025,7 @@
 void nmethod::print_on(outputStream* st, const char* msg) const {
   if (st != NULL) {
     ttyLocker ttyl;
+    if (CIPrintCompilerName) st->print("%s:", compiler()->name());
     if (WizardMode) {
       CompileTask::print_compilation(st, this, msg, /*short_form:*/ true);
       st->print_cr(" (" INTPTR_FORMAT ")", this);