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

tools/javac/patterns/SOEDeeplyNestedBlocksTest.java fails with StackOverflowError in compile phase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 23
    • tools
    • x86_64
    • os_x

      The following test failed in the JDK23 CI:

      tools/javac/patterns/SOEDeeplyNestedBlocksTest.java

      Here's a snippet from the log file:

      #section:compile
      ----------messages:(7/376)----------
      command: compile /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+20-1613/src.full/open/test/langtools/tools/javac/patterns/SOEDeeplyNestedBlocksTest.java
      reason: User specified action: run compile SOEDeeplyNestedBlocksTest.java
      started: Tue Apr 23 13:42:56 GMT 2024
      Mode: agentvm
      Agent id: 3
      finished: Tue Apr 23 13:42:57 GMT 2024
      elapsed time (seconds): 0.267
      ----------configuration:(9/1155)----------

      <snip>

      ----------direct:(1029/73693)----------


      The system is out of resources.
      Consult the following stack trace for details.
      java.lang.StackOverflowError
      at jdk.compiler/com.sun.tools.javac.jvm.Code.emitLdc(Code.java:405)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitSelect(Gen.java:2349)
      at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2525)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:859)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitSynchronized(Gen.java:1478)
      at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSynchronized.accept(JCTree.java:1424)

      <snip>

      at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitSynchronized(Gen.java:1503)
      at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSynchronized.accept(JCTree.java:1424)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:588)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:623)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:609)
      at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStats(Gen.java:660)
      result: Error. system error (exit code 3)


      test result: Error. system error (exit code 3)

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: