[lworld] compiler/ciReplay/TestValueClassArrays.java failed with not found all class checks for speculation on array accesses expected

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot
    • x86_64
    • linux

      The following test failed in the Valhalla CI:

      compiler/ciReplay/TestValueClassArrays.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/722)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+TieredCompilation compiler.ciReplay.TestValueClassArrays
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+TieredCompilation compiler.ciReplay.TestValueClassArrays
      started: Mon Jan 26 15:22:32.864 UTC 2026
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.value=ALL-UNNAMED --add-exports java.base/jdk.internal.vm.annotation=ALL-UNNAMED
      Process id: 3505518
      finished: Mon Jan 26 15:22:34.414 UTC 2026
      elapsed time (seconds): 1.55
      ----------configuration:(6/257)----------

      <snip>

      Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-62/linux-x64-debug.jdk/jdk-27/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S87402/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b81c1533-4a65-44c5-992a-1cc9a016b6b8/runs/4fedeca2-af45-453d-b476-b6ecedaa225c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/classes/3/compiler/ciReplay/TestValueClassArrays.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-62/src.full/open/test/hotspot/jtreg/compiler/ciReplay:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-62/src.full/open/test/hotspot/jtreg:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S87402/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b81c1533-4a65-44c5-992a-1cc9a016b6b8/runs/4fedeca2-af45-453d-b476-b6ecedaa225c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/classes/3/compiler/ciReplay/TestValueClassArrays.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-62/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S87402/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b81c1533-4a65-44c5-992a-1cc9a016b6b8/runs/4fedeca2-af45-453d-b476-b6ecedaa225c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/tmp -XX:+UnlockExperimentalVMOptions -XX:PerMethodSpecTrapLimit=0 -XX:PerMethodTrapLimit=0 -XX:-CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:+ReplayCompiles -XX:ReplayDataFile=replay_pid3505699_compid14.log -XX:LogFile='hotspot.log' -XX:+LogCompilation -XX:+PrintIdeal -XX:+ReplayIgnoreInitErrors -XX:CompileCommand=dontinline,*::* --enable-preview --add-exports java.base/jdk.internal.value=ALL-UNNAMED --add-exports java.base/jdk.internal.vm.annotation=ALL-UNNAMED -XX:ErrorFile=error.log -XX:-TieredCompilation ]
      [2026-01-26T15:22:34.144786129Z] Gathering output for process 3505746
      [2026-01-26T15:22:34.145118905Z] Waiting for completion for process 3505746
      [2026-01-26T15:22:34.326831275Z] Waiting for completion finished for process 3505746
      Output and diagnostic info for process 3505746 was saved into 'pid-3505746-output.log'
      ----------System.err:(17/1245)----------
      java.lang.RuntimeException: not found all class checks for speculation on array accesses expected: 0 but was: 8
      at jdk.test.lib.Asserts.fail(Asserts.java:715)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:208)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:184)
      at compiler.ciReplay.TestValueClassArrays.testArrayAccessSpeculation(TestValueClassArrays.java:102)
      at compiler.ciReplay.TestValueClassArrays.testAction(TestValueClassArrays.java:88)
      at compiler.ciReplay.DumpReplayBase.runTest(DumpReplayBase.java:54)
      at compiler.ciReplay.TestValueClassArrays.main(TestValueClassArrays.java:59)
      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:1516)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: not found all class checks for speculation on array accesses expected: 0 but was: 8
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: not found all class checks for speculation on array accesses expected: 0 but was: 8
      ----------rerun:(52/8944)*----------

            Assignee:
            Unassigned
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: