[lworld] compiler/valhalla/inlinetypes/TestLWorld.java#id4 fails with Method not compilable

XMLWordPrintable

    • x86_64
    • linux, windows

      The following test fails in the Valhalla CI:

      compiler/valhalla/inlinetypes/TestLWorld.java#id4

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/500)----------
      command: main compiler.valhalla.inlinetypes.TestLWorld 4
      reason: User specified action: run main compiler.valhalla.inlinetypes.TestLWorld 4
      started: Sun Jan 11 02:03:21.307 UTC 2026
      Mode: othervm [test requires --enable-preview]
      Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.value=ALL-UNNAMED --add-exports java.base/jdk.internal.vm.annotation=ALL-UNNAMED
      Process id: 2248829
      finished: Sun Jan 11 02:03:44.999 UTC 2026
      elapsed time (seconds): 23.692
      ----------configuration:(5/193)----------
      Boot Layer
        add modules: java.base
        add exports: java.base/jdk.internal.value ALL-UNNAMED
                     java.base/jdk.internal.vm.annotation ALL-UNNAMED

      ----------System.out:(28/5554)----------
      For random generator using seed: 1502623660
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=1502623660" to command line.
      IR verification disabled due to the following reason(s):
      - Using non-whitelisted JTreg VM or Javaoptions flag(s):
        - StressArrayCopyMacroNode
        - StressLCM
        - StressGCM
        - StressIGVN
        - StressCCP
        - StressMacroExpansion
        - StressMethodHandleLinkerInlining
        - StressCompiledExceptionHandlers
        - StressLoopPeeling

      Scenario #4 - [--enable-preview, --add-exports, java.base/jdk.internal.value=ALL-UNNAMED, --add-exports, java.base/jdk.internal.vm.annotation=ALL-UNNAMED, --add-exports, java.base/jdk.internal.misc=ALL-UNNAMED, -XX:+IgnoreUnrecognizedVMOptions, -DVerifyIR=false, -XX:FlatArrayElementMaxOops=-1, -XX:+UseArrayFlattening, -XX:-UseFieldFlattening, -XX:+InlineTypePassFieldsAsArgs, -XX:-InlineTypeReturnedAsFields, -XX:-ReduceInitialCardMarks, -XX:-MonomorphicArrayCheck]:

      <snip>

      Messages from Test VM
      ---------------------
      [NOT_COMPILABLE] Method not compilable: public boolean compiler.valhalla.inlinetypes.TestLWorld.test178(compiler.valhalla.inlinetypes.TestLWorld$Value178,compiler.valhalla.inlinetypes.TestLWorld$Value178)


      ----------System.err:(62/7051)----------
      The following scenarios have failed: #4

      Scenario #4
      ===========
      Scenario flags: [--enable-preview, --add-exports, java.base/jdk.internal.value=ALL-UNNAMED, --add-exports, java.base/jdk.internal.vm.annotation=ALL-UNNAMED, --add-exports, java.base/jdk.internal.misc=ALL-UNNAMED, -XX:+IgnoreUnrecognizedVMOptions, -DVerifyIR=false, -XX:FlatArrayElementMaxOops=-1, -XX:+UseArrayFlattening, -XX:-UseFieldFlattening, -XX:+InlineTypePassFieldsAsArgs, -XX:-InlineTypeReturnedAsFields, -XX:-ReduceInitialCardMarks, -XX:-MonomorphicArrayCheck]

      TestFramework test VM exited with code 1

      Command Line:
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-29/linux-x64-debug.jdk/jdk-27/fastdebug/bin/java -DReproduce=true -cp /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S35764/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35ec1231-95b9-4c0d-8adc-b19356595b3f/runs/cf871034-5aa4-46f3-9a5a-490ae21017c7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/3/compiler/valhalla/inlinetypes/TestLWorld_id4.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-29/src.full/open/test/hotspot/jtreg/compiler/valhalla/inlinetypes:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S35764/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35ec1231-95b9-4c0d-8adc-b19356595b3f/runs/cf871034-5aa4-46f3-9a5a-490ae21017c7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/3/compiler/valhalla/inlinetypes/TestLWorld_id4.d/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-29/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S35764/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35ec1231-95b9-4c0d-8adc-b19356595b3f/runs/cf871034-5aa4-46f3-9a5a-490ae21017c7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/3/compiler/valhalla/inlinetypes/TestLWorld_id4.d/test/jdk/java/lang/invoke/common:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-29/src.full/open/test/jdk/java/lang/invoke/common:/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-29/src.full/open/test/hotspot/jtreg:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/8.1/1/bundles/jtreg-8.1+1.zip/jtreg/lib/jtreg.jar -Djava.library.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-29/linux-x64-debug.test/hotspot/jtreg/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -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-S35764/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35ec1231-95b9-4c0d-8adc-b19356595b3f/runs/cf871034-5aa4-46f3-9a5a-490ae21017c7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/tmp -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:+StressArrayCopyMacroNode -XX:+StressLCM -XX:+StressGCM -XX:+StressIGVN -XX:+StressCCP -XX:+StressMacroExpansion -XX:+StressMethodHandleLinkerInlining -XX:+StressCompiledExceptionHandlers -XX:VerifyConstraintCasts=1 -XX:+StressLoopPeeling -Dir.framework.server.port=46869 --enable-preview --add-exports java.base/jdk.internal.value=ALL-UNNAMED --add-exports java.base/jdk.internal.vm.annotation=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions -DVerifyIR=false -XX:FlatArrayElementMaxOops=-1 -XX:+UseArrayFlattening -XX:-UseFieldFlattening -XX:+InlineTypePassFieldsAsArgs -XX:-InlineTypeReturnedAsFields -XX:-ReduceInitialCardMarks -XX:-MonomorphicArrayCheck -XX:-BackgroundCompilation -XX:CompileCommand=quiet -DWarmup=251 compiler.lib.ir_framework.test.TestVM compiler.valhalla.inlinetypes.TestLWorld compiler.valhalla.inlinetypes.MyValue2Inline compiler.valhalla.inlinetypes.MyValue1 compiler.valhalla.inlinetypes.MyValue3Inline compiler.valhalla.inlinetypes.MyValue2 compiler.valhalla.inlinetypes.MyValue3


      Error Output
      ------------
      Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException:

      Test Failures (1)
      -----------------
      Custom Run Test: @Run: test178_verifier - @Test: test178:
      compiler.lib.ir_framework.shared.TestRunException: Method public boolean compiler.valhalla.inlinetypes.TestLWorld.test178(compiler.valhalla.inlinetypes.TestLWorld$Value178,compiler.valhalla.inlinetypes.TestLWorld$Value178) not compilable (anymore) at level C2. Most likely, this is not expected, but if it is, you can use 'allowNotCompilable'.
      at compiler.lib.ir_framework.shared.TestRun.check(TestRun.java:32)
      at compiler.lib.ir_framework.test.AbstractTest.compileMethod(AbstractTest.java:122)
      at compiler.lib.ir_framework.test.CustomRunTest.compileSingleTest(CustomRunTest.java:113)
      at compiler.lib.ir_framework.test.CustomRunTest.compileTest(CustomRunTest.java:101)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:103)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:869)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:256)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:169)



      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:905)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:256)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:169)




        #############################################################
         - To only run the failed tests use -DTest, -DExclude,
           and/or -DScenarios.
         - To also get the standard output of the test VM run with
           -DReportStdout=true or for even more fine-grained logging
           use -DVerbose=true.
        #############################################################


      compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #4. Please check stderr for more information.
      at compiler.lib.ir_framework.TestFramework.reportScenarioFailures(TestFramework.java:797)
      at compiler.lib.ir_framework.TestFramework.startWithScenarios(TestFramework.java:757)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:441)
      at compiler.valhalla.inlinetypes.TestLWorld.main(TestLWorld.java:179)
      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: compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #4. Please check stderr for more information.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #4. Please check stderr for more information.
      ----------rerun:(56/10742)*----------

            Assignee:
            Marc Chevalier
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: