< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/GraalOSRTestBase.java

Print this page

        

*** 29,39 **** import org.graalvm.compiler.bytecode.Bytecode; import org.graalvm.compiler.bytecode.BytecodeDisassembler; import org.graalvm.compiler.bytecode.BytecodeStream; import org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode; - import org.graalvm.compiler.core.CompilationWrapper.ExceptionAction; import org.graalvm.compiler.core.GraalCompilerOptions; import org.graalvm.compiler.core.target.Backend; import org.graalvm.compiler.core.test.GraalCompilerTest; import org.graalvm.compiler.debug.DebugContext; import org.graalvm.compiler.debug.GraalError; --- 29,38 ----
*** 132,143 **** protected void compileOSR(OptionValues options, ResolvedJavaMethod method) { OptionValues goptions = options; // Silence diagnostics for permanent bailout errors as they // are expected for some OSR tests. ! if (!GraalCompilerOptions.CompilationBailoutAction.hasBeenSet(options)) { ! goptions = new OptionValues(options, GraalCompilerOptions.CompilationBailoutAction, ExceptionAction.Silent); } // ensure eager resolving StructuredGraph graph = parseEager(method, AllowAssumptions.YES, goptions); DebugContext debug = graph.getDebug(); int bci = getBackedgeBCI(debug, method); --- 131,142 ---- protected void compileOSR(OptionValues options, ResolvedJavaMethod method) { OptionValues goptions = options; // Silence diagnostics for permanent bailout errors as they // are expected for some OSR tests. ! if (!GraalCompilerOptions.CompilationBailoutAsFailure.hasBeenSet(options)) { ! goptions = new OptionValues(options, GraalCompilerOptions.CompilationBailoutAsFailure, false); } // ensure eager resolving StructuredGraph graph = parseEager(method, AllowAssumptions.YES, goptions); DebugContext debug = graph.getDebug(); int bci = getBackedgeBCI(debug, method);
< prev index next >