Mercurial > hg > truffle
changeset 13113:e2933e3d4fb0
print stack traces when doing CompileTheWorld
author | twisti |
---|---|
date | Thu, 21 Nov 2013 16:52:14 -0800 |
parents | d737287f5b32 |
children | 0267afb6816b 37b166b8f08e |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java Thu Nov 21 16:51:15 2013 -0800 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java Thu Nov 21 16:52:14 2013 -0800 @@ -89,8 +89,12 @@ this.startAt = startAt; this.stopAt = stopAt; - // We don't want the VM to exit when a method fails to compile. + // We don't want the VM to exit when a method fails to compile... ExitVMOnException.setValue(false); + + // ...but we want to see exceptions. + PrintBailout.setValue(true); + PrintStackTraceOnException.setValue(true); } /**