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

CTW: C2 compilation bails with "infinite loop" due to an infinite loop

XMLWordPrintable

      $ cd test/hotspot/jtreg/testlibrary/ctw
      $ make
      $ cd dist
      $ wget https://repo1.maven.org/maven2/com/cloudhopper/ch-commons-io/2.3.0/ch-commons-io-2.3.0.jar
      $ JAVA_OPTIONS="-XX:+AbortVMOnCompilationFailure" ./ctw.sh ch-commons-io-2.3.0.jar

      # Internal Error (/home/shade/trunks/jdk-jdk/src/hotspot/share/compiler/compileBroker.cpp:2009), pid=18694, tid=18706
      # fatal error: Not compilable at tier 4: infinite loop
      #
      # JRE version: OpenJDK Runtime Environment (15.0) (fastdebug build 15-internal+0-adhoc.shade.jdk-jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 15-internal+0-adhoc.shade.jdk-jdk, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x882133] CompileBroker::post_compile(CompilerThread*, CompileTask*, bool, ciEnv*, int, char const*)+0x1b3

        1. hs_err_pid18694.log
          122 kB
          Aleksey Shipilev
        2. infinite_loop.png
          6 kB
          Christian Hagedorn
        3. replay_pid18694.log
          152 kB
          Aleksey Shipilev

            chagedorn Christian Hagedorn
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: