# HG changeset patch # User yzheng # Date 1562548666 25200 # Node ID 62e0af50f8d527427324bb64820b93aa20b50557 # Parent 3af213fe470450c8c5fd37e2b156d361f6737e7e 8224254: compiler/graalunit/HotspotJdk9Test.java is timing out intermittently Reviewed-by: kvn, thartmann diff -r 3af213fe4704 -r 62e0af50f8d5 src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.jdk9.test/src/org/graalvm/compiler/hotspot/jdk9/test/MathDoubleFMATest.java --- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.jdk9.test/src/org/graalvm/compiler/hotspot/jdk9/test/MathDoubleFMATest.java Sun Jul 07 18:10:18 2019 -0700 +++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.jdk9.test/src/org/graalvm/compiler/hotspot/jdk9/test/MathDoubleFMATest.java Sun Jul 07 18:17:46 2019 -0700 @@ -30,7 +30,10 @@ import java.util.Collection; import java.util.List; +import org.graalvm.compiler.api.test.Graal; import org.graalvm.compiler.core.test.GraalCompilerTest; +import org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider; +import org.graalvm.compiler.runtime.RuntimeProvider; import org.graalvm.compiler.test.AddExports; import org.junit.Before; import org.junit.Test; @@ -48,6 +51,8 @@ @Before public void checkAMD64() { assumeTrue("skipping AMD64 specific test", getTarget().arch instanceof AMD64); + HotSpotGraalRuntimeProvider rt = (HotSpotGraalRuntimeProvider) Graal.getRequiredCapability(RuntimeProvider.class); + assumeTrue("skipping FMA specific test", rt.getVMConfig().useFMAIntrinsics); } @Parameters(name = "{0}, {1}, {2}") diff -r 3af213fe4704 -r 62e0af50f8d5 src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.jdk9.test/src/org/graalvm/compiler/hotspot/jdk9/test/MathFloatFMATest.java --- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.jdk9.test/src/org/graalvm/compiler/hotspot/jdk9/test/MathFloatFMATest.java Sun Jul 07 18:10:18 2019 -0700 +++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.jdk9.test/src/org/graalvm/compiler/hotspot/jdk9/test/MathFloatFMATest.java Sun Jul 07 18:17:46 2019 -0700 @@ -30,7 +30,10 @@ import java.util.Collection; import java.util.List; +import org.graalvm.compiler.api.test.Graal; import org.graalvm.compiler.core.test.GraalCompilerTest; +import org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider; +import org.graalvm.compiler.runtime.RuntimeProvider; import org.graalvm.compiler.test.AddExports; import org.junit.Before; import org.junit.Test; @@ -48,6 +51,8 @@ @Before public void checkAMD64() { assumeTrue("skipping AMD64 specific test", getTarget().arch instanceof AMD64); + HotSpotGraalRuntimeProvider rt = (HotSpotGraalRuntimeProvider) Graal.getRequiredCapability(RuntimeProvider.class); + assumeTrue("skipping FMA specific tests", rt.getVMConfig().useFMAIntrinsics); } @Parameters(name = "{0}, {1}, {2}") diff -r 3af213fe4704 -r 62e0af50f8d5 test/hotspot/jtreg/ProblemList-graal.txt --- a/test/hotspot/jtreg/ProblemList-graal.txt Sun Jul 07 18:10:18 2019 -0700 +++ b/test/hotspot/jtreg/ProblemList-graal.txt Sun Jul 07 18:17:46 2019 -0700 @@ -38,7 +38,6 @@ compiler/compilercontrol/mixed/RandomValidCommandsTest.java 8181753 generic-all compiler/compilercontrol/mixed/RandomCommandsTest.java 8181753 generic-all -compiler/graalunit/HotspotJdk9Test.java 8223807 generic-all compiler/jsr292/InvokerSignatureMismatch.java 8223807 generic-all compiler/graalunit/JttThreadsTest.java 8207757 generic-all