src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/DebugConfigImpl.java
equal
deleted
inserted
replaced
237 } |
237 } |
238 } |
238 } |
239 |
239 |
240 @Override |
240 @Override |
241 public RuntimeException interceptException(DebugContext debug, Throwable e) { |
241 public RuntimeException interceptException(DebugContext debug, Throwable e) { |
242 if (e instanceof BailoutException && !DebugOptions.InterceptBailout.getValue(options)) { |
242 if (e instanceof BailoutException) { |
243 return null; |
243 final boolean causedByCompilerAssert = e instanceof CausableByCompilerAssert && ((CausableByCompilerAssert) e).isCausedByCompilerAssert(); |
|
244 if (!DebugOptions.InterceptBailout.getValue(options) && !causedByCompilerAssert) { |
|
245 return null; |
|
246 } |
244 } |
247 } |
245 |
248 |
246 OptionValues interceptOptions = new OptionValues(options, |
249 OptionValues interceptOptions = new OptionValues(options, |
247 DebugOptions.Count, null, |
250 DebugOptions.Count, null, |
248 DebugOptions.Time, null, |
251 DebugOptions.Time, null, |