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

[lworld] TestAllocationMergeAndFolding fails since jdk-25+16, since an allocation is detected

XMLWordPrintable

      Problem Listing compiler/valhalla/inlinetypes/TestAllocationMergeAndFolding.java , there are allocations and merge of "8314999: IR framework fails to detect allocation" finds them


      Failure:

      One or more @IR rules failed: |
                                                                                                                                                                                                  |
      Failed IR Rules (1) of Methods (1) |
      ---------------------------------- |
      1) Method "static int compiler.valhalla.inlinetypes.TestAllocationMergeAndFolding.test(boolean)" - [Failed IR rules: 1]: |
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={}, failOn={"_#ALLOC#_"}, applyIfPlatform={}, applyIfPlatformOr={}, \|
      applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})" |
           > Phase "Before Macro Expansion": |
             - failOn: Graph contains forbidden nodes: |
               * Constraint 1: "(\d+(\s){2}(Allocate\b.*)+(\s){2}===.*)" |
                 - Matched forbidden node: |
                   * 140 Allocate === 26 6 7 8 1 (138 101 22 1 1 113 _ _ 1 1 1 416 416 1 416 418 1 31 35 1 ) [[ 141 142 143 155 156 157 ]] rawptr:NotNull ( int:>=0, java/lang/Object:NotNull \|
      *, bool, top, bool, bottom, java/lang/Object:NotNull *, long ) allocationKlass:compiler/valhalla/inlinetypes/TestAllocationMergeAndFolding$V2 TestAllocationMergeAndFolding$V::<init> @ bci\|
      :13 (line 94) reexecute TestAllocationMergeAndFolding::test @ bci:10 (line 56) !jvms: TestAllocationMergeAndFolding$V::<init> @ bci:13 (line 94) TestAllocationMergeAndFolding::test @ bci:\|
      10 (line 56) |


            qamai Quan Anh Mai
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: