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

[lworld] TestFlatInArraysFolding.java fails with UseNullableValueFlattening enabled by default

XMLWordPrintable

      Failed IR Rules (1) of Methods (1)
      ----------------------------------
      1) Method "static void compiler.valhalla.inlinetypes.TestFlatInArraysFolding.testCmpP()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#COUNTED_LOOP#_", "2", "_#STORE_I#_", "1"}, applyIfPlatform={}, applyIfPlatformOr={}, failOn={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"LoopMaxUnroll", "0"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "PrintIdeal":
             - counts: Graph contains wrong number of nodes:
               * Constraint 2: "(\\d+(\\s){2}(StoreI.*)+(\\s){2}===.*)"
                 - Failed comparison: [found] 2 = 1 [given]
                   - Matched nodes (2):
                     * 184 StoreI === 177 214 183 181 [[ 185 ]] @java/lang/Class (java/io/Serializable,java/lang/constant/Constable,java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField):exact+156 *, name=iFld, idx=9; Memory: @java/lang/Class (java/io/Serializable,java/lang/constant/Constable,java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField):exact+156 *, name=iFld, idx=9; !jvms: TestFlatInArraysFolding::testCmpP @ bci:23 (line 124)
                     * 302 StoreI === 325 307 183 181 [[ 304 ]] @java/lang/Class (java/io/Serializable,java/lang/constant/Constable,java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField):exact+156 *, name=iFld, idx=9; Memory: @java/lang/Class (java/io/Serializable,java/lang/constant/Constable,java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField):exact+156 *, name=iFld, idx=9; !orig=184 !jvms: TestFlatInArraysFolding::testCmpP @ bci:23 (line 124)

      >>> Check stdout for compilation output of the failed methods

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: