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

C2: assert(_base == Long) failed: Not a Long

    XMLWordPrintable

Details

    • b15

    Backports

      Description

        (synopsis is provisional, change as you see fit)

        Attached Fuzzer test fails:

        $ build/linux-x86_64-server-fastdebug/images/jdk/bin/java -cp 0006/ -Xmx512m -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM -XX:+StressCCP -XX:+StressIGVN -Xcomp -XX:CompileOnly=Test -XX:-TieredCompilation -XX:StressSeed=85215050 Test

        # Internal Error (/home/shade/trunks/jdk/src/hotspot/share/opto/type.hpp:1743), pid=3117013, tid=3117054
        # assert(_base == Long) failed: Not a Long
        #
        # JRE version: OpenJDK Runtime Environment (19.0) (fastdebug build 19-internal-adhoc.shade.jdk)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 19-internal-adhoc.shade.jdk, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x16a6dcf] PhaseIterGVN::no_dependent_zero_check(Node*) const+0x14f

        Stack: [0x00007fa05d747000,0x00007fa05d848000], sp=0x00007fa05d842f30, free space=1007k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x16a6dcf] PhaseIterGVN::no_dependent_zero_check(Node*) const+0x14f
        V [libjvm.so+0xeca7a9] IfNode::dominated_by(Node*, PhaseIterGVN*)+0x389
        V [libjvm.so+0x16aae58] PhaseIterGVN::transform_old(Node*)+0xb8
        V [libjvm.so+0x16a3f2e] PhaseIterGVN::optimize()+0x7e
        V [libjvm.so+0xac2ba4] Compile::Optimize()+0x884
        V [libjvm.so+0xac4b34] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1244
        V [libjvm.so+0x8dcb8b] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x69b
        V [libjvm.so+0xad5cb8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe48
        V [libjvm.so+0xad6a48] CompileBroker::compiler_thread_loop()+0x668
        V [libjvm.so+0x1a4563c] JavaThread::thread_main_inner()+0x28c
        V [libjvm.so+0x1a4bc94] Thread::call_run()+0x104
        V [libjvm.so+0x162450c] thread_native_entry(Thread*)+0x10c

        Seems to only fail with that particular StressSeed, and bisection points to JDK-8282045 as the first bad commit (that might be accidental).

        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: