# HG changeset patch # User Christian Haeubl # Date 1354268407 -3600 # Node ID 60bef2672469403e15d8c0deff489ad165d2ebd9 # Parent e0fcf7802786bb158852f167a0e810fd82f31c60 changed System.err output to TTY to avoid that DaCapo benchmarks fail digest validation diff -r e0fcf7802786 -r 60bef2672469 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java Fri Nov 30 08:30:22 2012 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java Fri Nov 30 10:40:07 2012 +0100 @@ -28,6 +28,7 @@ import java.lang.reflect.*; import com.oracle.graal.api.meta.*; +import com.oracle.graal.debug.*; import com.oracle.graal.hotspot.*; import com.oracle.graal.hotspot.meta.*; @@ -63,7 +64,7 @@ int result = installCode0(comp, code, info); if (result != OK.ordinal()) { if (successfulInstallations < MINIMUM_SUCCESSFUL_INSTALLATIONS_PER_FAILURE) { - System.err.println("Failed to install compiled code for " + comp.method + " [reason: " + CodeInstallResult.values()[result] + "]"); + TTY.println("Failed to install compiled code for " + comp.method + " [reason: " + CodeInstallResult.values()[result] + "]"); } successfulInstallations = 0L; } else { diff -r e0fcf7802786 -r 60bef2672469 src/share/vm/code/nmethod.cpp --- 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