JDK-8223924 : [Graal] org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest fails with -Xcomp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 13
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-05-15
  • Updated: 2023-07-21
  • Resolved: 2023-07-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13 JDK 14
13Fixed 14Resolved
Related Reports
Duplicate :  
Relates :  
Description
1) org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest#testBranchProbability2
java.lang.ClassCastException: class org.graalvm.compiler.nodes.DeoptimizeNode cannot be cast to class org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode (org.graalvm.compiler.nodes.DeoptimizeNode and org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode are in module jdk.internal.vm.compiler of loader 'platform')
	at org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest.returnValue(ProbabilityDirectiveTest.java:89)
	at org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest.checkLowTierGraph(ProbabilityDirectiveTest.java:77)
	at org.graalvm.compiler.core.test.GraalCompilerTest$4.run(GraalCompilerTest.java:325)

2) org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest#testBranchProbability
java.lang.ClassCastException: class org.graalvm.compiler.nodes.DeoptimizeNode cannot be cast to class org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode (org.graalvm.compiler.nodes.DeoptimizeNode and org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode are in module jdk.internal.vm.compiler of loader 'platform')
	at org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest.returnValue(ProbabilityDirectiveTest.java:89)
	at org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest.checkLowTierGraph(ProbabilityDirectiveTest.java:77)
	at org.graalvm.compiler.core.test.GraalCompilerTest$4.run(GraalCompilerTest.java:325)

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/10f1928a33b5 User: mikael Date: 2019-07-09 23:42:52 +0000
09-07-2019

This test relies on profiling information. The "expected" result is run first, with -Xcomp, which changes the profiling information used by the "actual" Graal result.
16-05-2019