JDK-8371753 : compiler/c2/cr7200264/TestIntVect.java fails IR verification
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: riscv
  • Submitted: 2025-11-13
  • Updated: 2025-11-24
  • Resolved: 2025-11-14
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 26
26 b25Fixed
Related Reports
Relates :  
Description
Run this test with fastdebug build on linux-riscv64 platform not equipped with vector extension:

$ make test TEST="compiler/c2/cr7200264/TestIntVect.java"

STDERR:
compiler.lib.ir_framework.shared.TestFormatException:
One or more format violations have been detected:

Violations (1)
--------------
 - VMInfo: MaxVectorSize is not larger than zero for IR rule 1 at int compiler.c2.cr7200264.TestIntVect.test_sum(int[]).
/============/
        at compiler.lib.ir_framework.shared.TestFormat.throwIfAnyFailures(TestFormat.java:85)
        at compiler.lib.ir_framework.driver.irmatching.parser.TestClassParser.createTestClass(TestClassParser.java:75)
        at compiler.lib.ir_framework.driver.irmatching.parser.TestClassParser.parse(TestClassParser.java:63)
        at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:884)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:839)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:431)
        at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:235)
        at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:224)
        at compiler.c2.cr7200264.TestIntVect.main(TestIntVect.java:49)
        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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
        at java.base/java.lang.Thread.run(Thread.java:1474)

JavaTest Message: Test threw exception: compiler.lib.ir_framework.shared.TestFormatException
JavaTest Message: shutting down test


TEST RESULT: Failed. Execution failed: `main' threw exception: compiler.lib.ir_framework.shared.TestFormatException: One or more format violations have been detected: Violations (1) -------------- - VMInfo: MaxVectorSize is not larger than zero for IR rule 1 at int compiler.c2.cr7200264.TestIntVect.test_sum(int[]). /============/
--------------------------------------------------
Test results: failed: 1
Comments
Changeset: eaddefb4 Branch: master Author: Fei Yang <fyang@openjdk.org> Date: 2025-11-14 01:10:11 +0000 URL: https://git.openjdk.org/jdk/commit/eaddefb475c6431821c2d62baf550ba2c5f357bf
14-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28279 Date: 2025-11-13 02:48:01 +0000
13-11-2025