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

C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect

XMLWordPrintable

      Running the attached JavaFuzzer-generated Java program (Test.java) on a debug JDK build as follows:

      $ java -Xcomp -XX:-TieredCompilation -XX:CompileOnly=Test::test Test.java

      Results in the following assertion failure:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (../../src/hotspot/share/opto/loopopts.cpp:1605), pid=439963, tid=439976
      # assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
      #
      # JRE version: OpenJDK Runtime Environment (20.0) (fastdebug build 20-internal-adhoc.rocastan.open)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 20-internal-adhoc.rocastan.open, compiled mode, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x14dbebf] PhaseIdealLoop::try_sink_out_of_loop(Node*)+0xa0f

            roland Roland Westrelin
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: