# HG changeset patch # User Bernhard Urban # Date 1369232892 -7200 # Node ID 6b515c453646f7f7cf8e68a216c8296abce42b72 # Parent ad50389f1da4c89632fc6729352824ebd8333ce5 CompilationTask: print exception of compilation also when we don't exit the VM for example, this is useful for CTW, in order to see on which methods the compiler bails out diff -r ad50389f1da4 -r 6b515c453646 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java Wed May 22 16:28:12 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java Wed May 22 16:28:12 2013 +0200 @@ -184,8 +184,8 @@ bailout.printStackTrace(TTY.cachedOut); } } catch (Throwable t) { + t.printStackTrace(TTY.cachedOut); if (GraalOptions.ExitVMOnException) { - t.printStackTrace(TTY.cachedOut); System.exit(-1); } }