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

C2: Sinking node may cause required cast to be dropped

    XMLWordPrintable

Details

    • b12

    Backports

      Description

        Recent regression, bisected to JDK-8303279.

        There are plenty of tier1 tests failing with TEST_VM_OPTS="-XX:+UseShenandoahGC".

        A sample failure is:

        $ CONF=linux-x86_64-server-fastdebug make reconfigure clean test TEST=java/lang/reflect/PublicMethods/PublicMethodsTest.java TEST_VM_OPTS="-XX:+UseShenandoahGC"

        # Internal Error (/home/shipilev/shipilev-jdk/src/hotspot/share/opto/subtypenode.cpp:37), pid=10644, tid=10672
        # assert(sub_t != Type::TOP && !TypePtr::NULL_PTR->higher_equal(sub_t)) failed: should be not null
        #
        # 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, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x168c4c1] SubTypeCheckNode::sub(Type const*, Type const*) const+0x191

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: