Mercurial > hg > graal-compiler
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java @ 2061:c0b1d6a44a02
Implemented fast inline array allocation.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Sat, 22 Jan 2011 14:37:43 +0100 |
parents | 89bf01e6b049 |
children | 76607939e139 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java Wed Jan 19 16:13:13 2011 +0100 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java Sat Jan 22 14:37:43 2011 +0100 @@ -152,7 +152,11 @@ } } System.out.println("BAILOUT:" + result.bailout().getMessage()); - Compiler.getVMEntries().recordBailout(result.bailout().getMessage()); + String s = result.bailout().getMessage(); + if (cause != null) { + s = cause.getMessage(); + } + Compiler.getVMEntries().recordBailout(s); } else { HotSpotTargetMethod.installMethod(riMethod, result.targetMethod()); }