JDK-8350159 : compiler/tiered/Level2RecompilationTest.java fails after JDK-8349915
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64,aarch64
  • Submitted: 2025-02-16
  • Updated: 2025-02-18
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 25
25Unresolved
Related Reports
Causes :  
Sub Tasks
JDK-8350162 :  
Description
Test compiler/tiered/Level2RecompilationTest.java fails "java.lang.RuntimeException: expected[2] != actual[3]".

The test log snippet:
STDERR:
java.lang.RuntimeException: expected[2] != actual[3]
    at compiler.tiered.CompLevelsTest.checkLevel(CompLevelsTest.java:76)
    at compiler.tiered.Level2RecompilationTest.checkLevel(Level2RecompilationTest.java:101)
    at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:80)
    at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:166)
    at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
    at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:54)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    at java.base/java.lang.reflect.Method.invoke(Method.java:565)
    at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
    at java.base/java.lang.Thread.run(Thread.java:1447)
java.lang.RuntimeException: expected[2] != actual[3]
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23668 Date: 2025-02-17 17:04:41 +0000
17-02-2025

On it, looks like a test bug.
17-02-2025

ILW = Lots of test failures because compilation policy changed, single test at tier3 (now problem listed), no workaround = MMH = P3
17-02-2025

Aleksey, could you please have a look?
17-02-2025