JDK-8319933 : Disable tests for JDK-8280481 on Graal
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-11-10
  • Updated: 2024-09-20
  • Resolved: 2024-06-12
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 23 JDK 24
23.0.2Fixed 24 b02Fixed
Related Reports
Relates :  
Description
The test for JDK-8280481 ("Duplicated stubs to interpreter for static calls") fails when run on Graal:

java.lang.RuntimeException: No static stubs reused: distinct 4, in total 4
	at compiler.sharedstubs.SharedStubToInterpTest.checkOutput(SharedStubToInterpTest.java:95)
	at compiler.sharedstubs.SharedStubToInterpTest.runTest(SharedStubToInterpTest.java:78)
	at compiler.sharedstubs.SharedStubToInterpTest.main(SharedStubToInterpTest.java:84)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
	at java.base/java.lang.Thread.run(Thread.java:1570)

The test should exclude Graal until such time that Graal implements the same optimization.
Comments
Changeset: bd750b6b Author: Doug Simon <dnsimon@openjdk.org> Date: 2024-06-12 10:03:39 +0000 URL: https://git.openjdk.org/jdk/commit/bd750b6b783101a3b992a25e7bc64777bb08de18
12-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19672 Date: 2024-06-12 07:49:48 +0000
12-06-2024

ILW = Test fails because stub was not re-used (test bug), single test with Graal as JIT = MLH = P4
13-11-2023