Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8331909

[lworld] compiler/valhalla/inlinetypes/TestValueClasses.java fails when random value rI is zero

XMLWordPrintable

      Test failure on macosx-aarch64-debug after merging jdk-23+7, 8, and 9:

      Scenario #1
      ===========
      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, -XX:-UseACmpProfile, -XX:-UseCompressedOops, -XX:FlatArrayElementMaxOops=5, -XX:FlatArrayElementMaxSize=-1, -XX:-UseArrayLoadStoreProfile, -XX:InlineFieldMaxFlatSize=-1, -XX:-InlineTypePassFieldsAsArgs, -XX:-InlineTypeReturnedAsFields, -Dsun.reflect.inflationThreshold=10000]

      ...

      One or more @IR rules failed:

      Failed IR Rules (1) of Methods (1)
      ----------------------------------
      1) Method "public compiler.valhalla.inlinetypes.MyValueClass1 compiler.valhalla.inlinetypes.TestValueClasses.test15(compiler.valhalla.inlinetypes.MyValueClass1)" - [Failed IR rules: 1]:
         * @IR rule 2: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#ALLOC_G#I_", " = 8"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"InlineTypePassFieldsAsArgs", "false"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "PrintOptoAssembly":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(.*call,static.*wrapper for: _new_instance_Java)"
                 - Failed comparison: [found] 7 = 8 [given]
                   - Matched nodes (7):
                     * 63c call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java
                     * 66c call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java
                     * 69c call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java
                     * 6cc call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java
                     * 6fc call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java
                     * 750 call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java
                     * 780 call,static 0x0000000115881ac0 // ==> wrapper for: _new_instance_Java

            thartmann Tobias Hartmann
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: