Mercurial > hg > truffle
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java @ 1479:71cd4b9610eb
Two fixes for DaCapo / SpecJVM2008 runs.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Sat, 27 Nov 2010 14:30:07 +0100 |
parents | ef7761803480 |
children | 8d88c9ac9247 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java Fri Nov 26 19:45:05 2010 +0100 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java Sat Nov 27 14:30:07 2010 +0100 @@ -26,6 +26,7 @@ import java.util.*; import com.sun.c1x.*; +import com.sun.c1x.debug.*; import com.sun.cri.ci.*; import com.sun.cri.ri.*; import com.sun.hotspot.c1x.logging.*; @@ -138,7 +139,7 @@ StringWriter out = new StringWriter(); result.bailout().printStackTrace(new PrintWriter(out)); Throwable cause = result.bailout().getCause(); - Logger.info("Bailout:\n" + out.toString()); + TTY.println("Bailout:\n" + out.toString()); if (cause != null) { Logger.info("Trace for cause: "); for (StackTraceElement e : cause.getStackTrace()) { @@ -157,7 +158,7 @@ } catch (Throwable t) { StringWriter out = new StringWriter(); t.printStackTrace(new PrintWriter(out)); - Logger.info("Compilation interrupted:\n" + out.toString()); + TTY.println("Compilation interrupted:\n" + out.toString()); throw t; } }