diff src/share/vm/code/nmethod.cpp @ 7112:60bef2672469

changed System.err output to TTY to avoid that DaCapo benchmarks fail digest validation
author Christian Haeubl <haeubl@ssw.jku.at>
date Fri, 30 Nov 2012 10:40:07 +0100
parents 97d0eae99568
children 1baf7f1e3f23
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp	Fri Nov 30 08:30:22 2012 +0100
+++ b/src/share/vm/code/nmethod.cpp	Fri Nov 30 10:40:07 2012 +0100
@@ -1449,7 +1449,8 @@
   }
 
   if (TraceCreateZombies) {
-    tty->print_cr("nmethod <" INTPTR_FORMAT "> code made %s", this, (state == not_entrant) ? "not entrant" : "zombie");
+    ResourceMark m;
+    tty->print_cr("nmethod <" INTPTR_FORMAT "> %s code made %s", this, this->method()->name_and_sig_as_C_string(), (state == not_entrant) ? "not entrant" : "zombie");
   }
 
   // Make sweeper aware that there is a zombie method that needs to be removed