# HG changeset patch # User Thomas Wuerthinger # Date 1429572428 -7200 # Node ID a671d592a8da6877fdb5296b24f1ffae3f6bd947 # Parent bc54c4091715219c1fe6944630a0b208a8219b05 Modify semantics of StressInvokeWithExceptionNode. diff -r bc54c4091715 -r a671d592a8da graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java --- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Apr 21 00:50:05 2015 +0200 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Apr 21 01:27:08 2015 +0200 @@ -1152,8 +1152,8 @@ // be conservative if information was not recorded (could result in endless // recompiles otherwise) Invoke invoke; - if (!StressInvokeWithExceptionNode.getValue() && - (graphBuilderConfig.omitAllExceptionEdges() || (optimisticOpts.useExceptionProbability() && profilingInfo != null && profilingInfo.getExceptionSeen(bci()) == TriState.FALSE))) { + if (graphBuilderConfig.omitAllExceptionEdges() || + (!StressInvokeWithExceptionNode.getValue() && optimisticOpts.useExceptionProbability() && profilingInfo != null && profilingInfo.getExceptionSeen(bci()) == TriState.FALSE)) { invoke = createInvoke(callTarget, resultType); } else { invoke = createInvokeWithException(callTarget, resultType);