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

CTW: C2 compilation fails with "assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it"

XMLWordPrintable

    • b27

        $ cd test/hotspot/jtreg/testlibrary/ctw
        $ make
        $ cd dist
        $ wget https://cr.openjdk.java.net/~shade/8244719/comsat-jetty-loader-0.7.0.jar
        $ ./ctw.sh comsat-jetty-loader-0.7.0.jar

        # Internal Error (/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/node.hpp:414), pid=8257, tid=8307
        # assert(!VerifyHashTableKeys || _hash_lock == 0) failed: remove node from hash table before modifying it
        #
        # JRE version: OpenJDK Runtime Environment (15.0) (fastdebug build 15-internal+0-adhoc.shade.jdk-jdk)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 15-internal+0-adhoc.shade.jdk-jdk, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x3cca84] Node::set_req(unsigned int, Node*)+0x2d4

        Current CompileTask:
        C2: 13564 16720 !b 4 co.paralleluniverse.strands.concurrent.AbstractQueuedLongSynchronizer$ConditionObject::awaitUntil (758 bytes)

        Stack: [0x00007f59968bf000,0x00007f59969c0000], sp=0x00007f59969bcd00, free space=1015k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x3cca84] Node::set_req(unsigned int, Node*)+0x2d4
        V [libjvm.so+0x12e2070] Parse::merge_common(Parse::Block*, int)+0x4d0
        V [libjvm.so+0x99194f] Parse::catch_inline_exceptions(SafePointNode*)+0x15cf
        V [libjvm.so+0x12dc777] Parse::do_exceptions()+0xe7
        V [libjvm.so+0x12e2ec6] Parse::do_one_block()+0x286
        V [libjvm.so+0x12e41b1] Parse::do_all_blocks()+0xe1
        V [libjvm.so+0x12e80aa] Parse::Parse(JVMState*, ciMethod*, float)+0xcba
        V [libjvm.so+0x6d7091] ParseGenerator::generate(JVMState*)+0x121
        V [libjvm.so+0x8639da] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xaba
        V [libjvm.so+0x6d58dc] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xfc
        V [libjvm.so+0x86ef8b] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2db
        V [libjvm.so+0x86ffc8] CompileBroker::compiler_thread_loop()+0x538
        V [libjvm.so+0x166d706] JavaThread::thread_main_inner()+0x206
        V [libjvm.so+0x1672566] Thread::call_run()+0xf6
        V [libjvm.so+0x129c03e] thread_native_entry(Thread*)+0x10e

        Logs:
         https://cr.openjdk.java.net/~shade/8244719/hs_err_pid8257.log
         https://cr.openjdk.java.net/~shade/8244719/replay_pid8257.log

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

                Created:
                Updated:
                Resolved: