use of org.graalvm.compiler.options.OptionValues in project graal by oracle.
the class GraalOSRLockTest method testLockOSROuterInnerImmediateDeoptAfter.
@Test
@SuppressWarnings("try")
public void testLockOSROuterInnerImmediateDeoptAfter() {
run(() -> {
OptionValues options = new OptionValues(getInitialOptions(), osrLockDeopt());
testOSR(options, "testOuterInnerLockImmediateDeoptAfter");
});
}
use of org.graalvm.compiler.options.OptionValues in project graal by oracle.
the class GraalOSRLockTest method testLockOSROuterInnerLockDepthDeopt.
@Test
@SuppressWarnings("try")
public void testLockOSROuterInnerLockDepthDeopt() {
run(() -> {
EconomicMap<OptionKey<?>, Object> overrides = osrLockNoDeopt();
overrides.put(HighTier.Options.Inline, false);
OptionValues options = new OptionValues(getInitialOptions(), overrides);
testOSR(options, "testOuterInnerLockDepth1DeoptAfter");
});
}
use of org.graalvm.compiler.options.OptionValues in project graal by oracle.
the class GraalOSRLockTest method testLockOSROuterInnerSameLockCompileRestOfMethod.
@Test
@SuppressWarnings("try")
public void testLockOSROuterInnerSameLockCompileRestOfMethod() {
run(() -> {
OptionValues options = new OptionValues(getInitialOptions(), osrLockNoDeopt());
testOSR(options, "testOuterInnerSameLockCompileRestOfMethod");
});
}
use of org.graalvm.compiler.options.OptionValues in project graal by oracle.
the class GraalOSRLockTest method testLockOSROuterCompileRestOfMethodSubsequentLock.
@Test
@SuppressWarnings("try")
public void testLockOSROuterCompileRestOfMethodSubsequentLock() {
run(() -> {
OptionValues options = new OptionValues(getInitialOptions(), osrLockNoDeopt());
testOSR(options, "testOuterLockCompileRestOfMethodSubsequentLock");
});
}
use of org.graalvm.compiler.options.OptionValues in project graal by oracle.
the class GraalOSRLockTest method testLockOSROuterInnerLockDepthRecursiveCompileRestOfMethod1.
@Test
@SuppressWarnings("try")
public void testLockOSROuterInnerLockDepthRecursiveCompileRestOfMethod1() {
run(() -> {
OptionValues options = new OptionValues(getInitialOptions(), osrLockNoDeopt());
testOSR(options, "testOuterInnerLockDepth1RecursiveCompileRestOfMethod2");
});
}
Aggregations