Following graal unit tests fail with latest hs10 binaries when running in -Xcomp mode.
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest
1) testBoolean(org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest)
java.lang.AssertionError: expected no usages of ParameterNode
org.graalvm.compiler.api.directives.test.ControlFlowAnchorDirectiveTest)
1) testMerge(org.graalvm.compiler.api.directives.test.ControlFlowAnchorDirectiveTest)
java.lang.AssertionError: ControlFlowAnchorNode expected:<2> but was:<1>
2) testUnswitch(org.graalvm.compiler.api.directives.test.ControlFlowAnchorDirectiveTest)
java.lang.AssertionError: LoopBeginNode expected:<2> but was:<1>
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest
1) testBoolean(org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest)
java.lang.AssertionError: expected:<class org.graalvm.compiler.nodes.calc.ConditionalNode> but was:<class org.graalvm.compiler.nodes.ConstantNode>
2) testObject(org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest)
java.lang.AssertionError: expected:<class org.graalvm.compiler.nodes.calc.ConditionalNode> but was:<class org.graalvm.compiler.nodes.ConstantNode>
3) testBranchProbability(org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest)
java.lang.ClassCastException: jdk.internal.vm.compiler/org.graalvm.compiler.nodes.DeoptimizeNode cannot be cast to jdk.internal.vm.compiler/org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode
org.graalvm.compiler.core.test.ConditionalEliminationTest13
1) test4(org.graalvm.compiler.core.test.ConditionalEliminationTest13)
java.lang.AssertionError: Graphs do not have the same number of nodes: 4 vs. 16
mismatch in graphs:
2) test8(org.graalvm.compiler.core.test.ConditionalEliminationTest13)
java.lang.AssertionError: Graphs do not have the same number of nodes: 4 vs. 16
mismatch in graphs:
org.graalvm.compiler.core.test.ea.PEAAssertionsTest
1) testControlFlow1(org.graalvm.compiler.core.test.ea.PEAAssertionsTest)
org.graalvm.compiler.code.SourceStackTraceBailoutException$1: Object of type Ljava/lang/Integer; should not be materialized (must not store virtual object into a field):
at app//org.graalvm.compiler.core.test.ea.PEAAssertionsTest.snippetControlFlow1(PEAAssertionsTest.java:126)
org.graalvm.compiler.core.test.GuardedIntrinsicTest
1) test01(org.graalvm.compiler.core.test.GuardedIntrinsicTest)
java.lang.AssertionError: [] expected:<1> but was:<0>
org.graalvm.compiler.core.test.HashCodeTest
1) test08(org.graalvm.compiler.core.test.HashCodeTest)
java.lang.AssertionError: expected:<1> but was:<0>
org.graalvm.compiler.core.test.MarkUnsafeAccessTest
1) testStandard(org.graalvm.compiler.core.test.MarkUnsafeAccessTest)
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
org.graalvm.compiler.core.test.MergeCanonicalizerTest
1) testSplitReturn(org.graalvm.compiler.core.test.MergeCanonicalizerTest)
java.lang.AssertionError: expected:<2> but was:<1>
org.graalvm.compiler.core.test.ProfilingInfoTest
1) testExceptionSeen(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.AssertionError: expected:<TRUE> but was:<FALSE>
2) testSwitchProbabilities(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.AssertionError: actual array was null
3) testProfileInvokeVirtual(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.NullPointerException
4) testBranchTakenProbability(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.AssertionError: expected:<0.0> but was:<-1.0>
5) testTypeProfileInvokeInterface(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.NullPointerException
org.graalvm.compiler.hotspot.test.ExplicitExceptionTest
1) testNPE(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
java.lang.AssertionError: expected:<1> but was:<0>
2) testNPEArray(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
java.lang.AssertionError: expected:<2> but was:<0>
3) testAIOOBE(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
java.lang.AssertionError: expected:<2> but was:<0>
org.graalvm.compiler.hotspot.test.GraalOSRLockTest
1) testLockOSROuterInnerLockDepthCompileRestOfMethod(org.graalvm.compiler.hotspot.test.GraalOSRLockTest)
java.lang.AssertionError: Unexpected exception expected null, but was:<java.lang.Error: Must part of compiled code>
2) testUnsafeSubstitutions(org.graalvm.compiler.hotspot.test.HotSpotUnsafeSubstitutionTest)
java.lang.AssertionError: 61|Invoke#Throwable.fillInStackTrace
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest
1) testBoolean(org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest)
java.lang.AssertionError: expected no usages of ParameterNode
org.graalvm.compiler.api.directives.test.ControlFlowAnchorDirectiveTest)
1) testMerge(org.graalvm.compiler.api.directives.test.ControlFlowAnchorDirectiveTest)
java.lang.AssertionError: ControlFlowAnchorNode expected:<2> but was:<1>
2) testUnswitch(org.graalvm.compiler.api.directives.test.ControlFlowAnchorDirectiveTest)
java.lang.AssertionError: LoopBeginNode expected:<2> but was:<1>
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest
1) testBoolean(org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest)
java.lang.AssertionError: expected:<class org.graalvm.compiler.nodes.calc.ConditionalNode> but was:<class org.graalvm.compiler.nodes.ConstantNode>
2) testObject(org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest)
java.lang.AssertionError: expected:<class org.graalvm.compiler.nodes.calc.ConditionalNode> but was:<class org.graalvm.compiler.nodes.ConstantNode>
3) testBranchProbability(org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest)
java.lang.ClassCastException: jdk.internal.vm.compiler/org.graalvm.compiler.nodes.DeoptimizeNode cannot be cast to jdk.internal.vm.compiler/org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode
org.graalvm.compiler.core.test.ConditionalEliminationTest13
1) test4(org.graalvm.compiler.core.test.ConditionalEliminationTest13)
java.lang.AssertionError: Graphs do not have the same number of nodes: 4 vs. 16
mismatch in graphs:
2) test8(org.graalvm.compiler.core.test.ConditionalEliminationTest13)
java.lang.AssertionError: Graphs do not have the same number of nodes: 4 vs. 16
mismatch in graphs:
org.graalvm.compiler.core.test.ea.PEAAssertionsTest
1) testControlFlow1(org.graalvm.compiler.core.test.ea.PEAAssertionsTest)
org.graalvm.compiler.code.SourceStackTraceBailoutException$1: Object of type Ljava/lang/Integer; should not be materialized (must not store virtual object into a field):
at app//org.graalvm.compiler.core.test.ea.PEAAssertionsTest.snippetControlFlow1(PEAAssertionsTest.java:126)
org.graalvm.compiler.core.test.GuardedIntrinsicTest
1) test01(org.graalvm.compiler.core.test.GuardedIntrinsicTest)
java.lang.AssertionError: [] expected:<1> but was:<0>
org.graalvm.compiler.core.test.HashCodeTest
1) test08(org.graalvm.compiler.core.test.HashCodeTest)
java.lang.AssertionError: expected:<1> but was:<0>
org.graalvm.compiler.core.test.MarkUnsafeAccessTest
1) testStandard(org.graalvm.compiler.core.test.MarkUnsafeAccessTest)
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
org.graalvm.compiler.core.test.MergeCanonicalizerTest
1) testSplitReturn(org.graalvm.compiler.core.test.MergeCanonicalizerTest)
java.lang.AssertionError: expected:<2> but was:<1>
org.graalvm.compiler.core.test.ProfilingInfoTest
1) testExceptionSeen(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.AssertionError: expected:<TRUE> but was:<FALSE>
2) testSwitchProbabilities(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.AssertionError: actual array was null
3) testProfileInvokeVirtual(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.NullPointerException
4) testBranchTakenProbability(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.AssertionError: expected:<0.0> but was:<-1.0>
5) testTypeProfileInvokeInterface(org.graalvm.compiler.core.test.ProfilingInfoTest)
java.lang.NullPointerException
org.graalvm.compiler.hotspot.test.ExplicitExceptionTest
1) testNPE(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
java.lang.AssertionError: expected:<1> but was:<0>
2) testNPEArray(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
java.lang.AssertionError: expected:<2> but was:<0>
3) testAIOOBE(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
java.lang.AssertionError: expected:<2> but was:<0>
org.graalvm.compiler.hotspot.test.GraalOSRLockTest
1) testLockOSROuterInnerLockDepthCompileRestOfMethod(org.graalvm.compiler.hotspot.test.GraalOSRLockTest)
java.lang.AssertionError: Unexpected exception expected null, but was:<java.lang.Error: Must part of compiled code>
2) testUnsafeSubstitutions(org.graalvm.compiler.hotspot.test.HotSpotUnsafeSubstitutionTest)
java.lang.AssertionError: 61|Invoke#Throwable.fillInStackTrace
- duplicates
-
JDK-8190710 Update Graal
- Resolved
- relates to
-
JDK-8192853 [Graal] org.graalvm.compiler tests fail with Graal as JIT compiler and -Xcomp flag
- Closed