# HG changeset patch # User Chris Seaton # Date 1413392916 -3600 # Node ID 594f932ade4a097827a306b1793b70eae7365daf # Parent 45b45f902bed7cf1b2532537af7b8ac8de609da7 Truffle: don't re-throw bailout exceptions from the compiler. diff -r 45b45f902bed -r 594f932ade4a graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java --- a/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java Wed Oct 15 15:35:33 2014 +0200 +++ b/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java Wed Oct 15 18:08:36 2014 +0100 @@ -210,7 +210,7 @@ try { future.get(); } catch (ExecutionException e) { - if (TruffleCompilationExceptionsAreThrown.getValue()) { + if (TruffleCompilationExceptionsAreThrown.getValue() && !(e.getCause() instanceof BailoutException)) { throw new RuntimeException(e.getCause()); } else { // silently ignored