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

[Graal] java/lang/String/CompactString/ tests fail with "GraalError: failed guarantee: no FrameState at DeoptimizingNode" in Graal -Xcomp mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b05

      Backports

        Description

        A lot of java/lang/String/CompactString/ tests fail with
        Thread[JVMCI CompilerThread3,9,system]: Compilation of java.util.Formatter$FormatSpecifier.print(Object, Locale) failed:
        org.graalvm.compiler.debug.GraalError: failed guarantee: no FrameState at DeoptimizingNode 365|Deopt
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.debug.GraalError.guarantee(GraalError.java:86)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.common.FrameStateAssignmentPhase$FrameStateAssignmentClosure.processNode(FrameStateAssignmentPhase.java:69)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.common.FrameStateAssignmentPhase$FrameStateAssignmentClosure.processNode(FrameStateAssignmentPhase.java:61)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.graph.ReentrantNodeIterator.apply(ReentrantNodeIterator.java:125)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.graph.ReentrantNodeIterator.apply(ReentrantNodeIterator.java:102)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.common.FrameStateAssignmentPhase.run(FrameStateAssignmentPhase.java:127)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:212)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:225)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:144)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.core.GraalCompiler.compileGraph(GraalCompiler.java:129)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileHelper(HotSpotGraalCompiler.java:185)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compile(HotSpotGraalCompiler.java:198)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.CompilationTask$HotSpotCompilationWrapper.performCompilation(CompilationTask.java:190)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.CompilationTask$HotSpotCompilationWrapper.performCompilation(CompilationTask.java:98)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.core.CompilationWrapper.run(CompilationWrapper.java:177)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.CompilationTask.runCompilation(CompilationTask.java:339)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileMethod(HotSpotGraalCompiler.java:138)
                at jdk.internal.vm.compiler@13-internal/org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileMethod(HotSpotGraalCompiler.java:105)
                at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.compileMethod(HotSpotJVMCIRuntime.java:524)


        when running in Graal as JIT mode and -Xcomp.
        All failures seems to be when tests are run with -XX:-CompactStrings flag.

        Was not able to reproduce without "-Xcomp" flag.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  epavlova Ekaterina Pavlova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: