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

[lworld] C2: Multiple IR test failures in compiler/gcbarriers/TestZGCBarrierElision.java after JDK-8351569

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      There are multiple IR test failures in tier1 (without flags) with

      compiler/gcbarriers/TestZGCBarrierElision.java

      after JDK-8351569 went in:

      id=Z:

      Failed IR Rules (6) of Methods (6)
      ----------------------------------
      1) Method "static void compiler.gcbarriers.TestZGCCorrectBarrierElision.testAllocateArrayThenAtomicAtKnownIndex(compiler.gcbarriers.Outer)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      2) Method "static void compiler.gcbarriers.TestZGCCorrectBarrierElision.testAllocateArrayThenAtomicAtUnknownIndex(compiler.gcbarriers.Outer,int)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      3) Method "static void compiler.gcbarriers.TestZGCCorrectBarrierElision.testAllocateThenAtomic(compiler.gcbarriers.Inner)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      4) Method "static void compiler.gcbarriers.TestZGCCorrectBarrierElision.testArrayAtomicThenAtomicAtUnknownIndices(compiler.gcbarriers.Outer[],compiler.gcbarriers.Outer,int,int)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "2"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 2 [given]
                 - No nodes matched!

      5) Method "static void compiler.gcbarriers.TestZGCCorrectBarrierElision.testAtomicThenAtomicAnotherField(compiler.gcbarriers.Outer,compiler.gcbarriers.Inner)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "2"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 2 [given]
                 - No nodes matched!

      6) Method "static void compiler.gcbarriers.TestZGCCorrectBarrierElision.testLoadThenAtomic(compiler.gcbarriers.Outer,compiler.gcbarriers.Inner)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!


      id=ZGen:

      Failed IR Rules (7) of Methods (5)
      ----------------------------------
      1) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testArrayAtomicThenAtomic(compiler.gcbarriers.Outer[],compiler.gcbarriers.Outer)" - [Failed IR rules: 2]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!
         * @IR rule 2: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "elided", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*elided\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      2) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testAtomicThenAtomic(compiler.gcbarriers.Outer,compiler.gcbarriers.Inner)" - [Failed IR rules: 2]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!
         * @IR rule 2: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "elided", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*elided\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      3) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testAtomicThenLoad(compiler.gcbarriers.Outer,compiler.gcbarriers.Inner)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      4) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testAtomicThenStore(compiler.gcbarriers.Outer,compiler.gcbarriers.Inner)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "strong", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*strong\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

      5) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testStoreThenAtomic(compiler.gcbarriers.Outer,compiler.gcbarriers.Inner)" - [Failed IR rules: 1]:
         * @IR rule 2: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#Z_GET_AND_SET_P_WITH_BARRIER_FLAG#_", "elided", "1"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "Final Code":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}((zXChgP)|(zGetAndSetP\\S*).*)+(\\s){2}===.*barrier\\(\\s*elided\\s*\\))"
                 - Failed comparison: [found] 0 = 1 [given]
                 - No nodes matched!

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: