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

[Graal] Must not create overflow guard for loop where the speculation guard already failed

XMLWordPrintable

      rare failure with compiler/c2/Test6992759.java and java/math/BigInteger/largeMemory/SymmetricRangeTests.java

      Thread[#19,JVMCI-native CompilerThread0,5,main]: Compilation of compiler.c2.Test6992759.doTest(int, int, int) @ -1 failed:
      jdk.graal.compiler.debug.GraalError: should not reach here: Must not create overflow guard for loop 9|LoopBegin where the speculation guard already failed, this can create deopt loops
      at jdk.graal.compiler/jdk.graal.compiler.nodes.loop.CountedLoopInfo.createOverFlowGuard(CountedLoopInfo.java:595)
      at com.oracle.graal.graal_enterprise/com.oracle.graal.guards.optimistic.memory.OptimisticAliasingAnalysisPhase.run(OptimisticAliasingAnalysisPhase.java:154)
      at com.oracle.graal.graal_enterprise/com.oracle.graal.guards.optimistic.memory.OptimisticAliasingAnalysisPhase.run(OptimisticAliasingAnalysisPhase.java:87)
      at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:435)
      at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:323)
      at jdk.graal.compiler/jdk.graal.compiler.core.phases.BaseTier.run(BaseTier.java:58)
      at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:435)
      at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:323)
      at jdk.graal.compiler/jdk.graal.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:299)
      at jdk.graal.compiler/jdk.graal.compiler.core.GraalCompiler.compile(GraalCompiler.java:169)
      at jdk.graal.compiler/jdk.graal.compiler.core.GraalCompiler.compileGraph(GraalCompiler.java:137)
      at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotGraalCompiler.compileHelper(HotSpotGraalCompiler.java:244)

            davleopo David Leopoldseder
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: