Mercurial > hg > truffle
changeset 9790:6b515c453646
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
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 22 May 2013 16:28:12 +0200 |
parents | ad50389f1da4 |
children | e92fdf3e1558 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); } }