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

C2: assert(false) failed: malformed control flow after JDK-8305636

    XMLWordPrintable

Details

    • b11

    Description

      The attached Fuzzer test fails:

      ```
      $ cd 0007/
      $ ../build/linux-x86_64-server-fastdebug/images/jdk/bin/java -cp . -XX:-TieredCompilation Test

      ...
      dist dump
      ---------------------------------------------
         0 3675 If === 3595 3551 [[ 3457 ]] P=0.999999, C=-1.000000
         1 3457 IfFalse === 3675 [[ 921 ]] #0 !orig=[1439]
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/shipilev/shipilev-jdk/src/hotspot/share/opto/compile.cpp:4008), pid=14082, tid=14099
      # assert(false) failed: malformed control flow
      #
      # JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-adhoc.shipilev.shipilev-jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.shipilev.shipilev-jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x9804fc] Compile::final_graph_reshaping()+0x11ac
      ```

      Bisection points to JDK-8305636.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: