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

Sinking load out of loop may trigger: assert(found_sfpt) failed: no node in loop that's not input to safepoint

    XMLWordPrintable

Details

    • b16

    Backports

      Description

        (synopsis is provisional, please change as you see fit)

        Found with fuzzing, the bundle is attached. Reproduces with Shenandoah, not with G1.

        $ jdk-jdk/build/linux-x86_64-server-fastdebug/images/jdk/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC Test

        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/loopnode.cpp:992
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/loopnode.cpp:992), pid=12041, tid=12050
        # assert(found_sfpt) failed: no node in loop that's not input to safepoint
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (fastdebug build 14-internal+0-adhoc.shade.jdk-jdk)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 14-internal+0-adhoc.shade.jdk-jdk, mixed mode, sharing, tiered, compressed oops, shenandoah gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x11f2cb8] LoopNode::verify_strip_mined(int) const+0x5f8

        Attachments

          Issue Links

            Activity

              People

                roland Roland Westrelin
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: