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

Crash in C2 escape analysis with assert: "node should be registered"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b131
    • Verification:
      Verified

      Backports

        Description

        hotspot/src/share/vm/opto/escape.cpp:736), pid=29968, tid=30089
        # assert(adr_ptn != __null && adr_ptn->as_Field()->is_oop()) failed: node should be registered

        Current thread (0x00007faeec5c4800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=30089, stack(0x00007f9bad6d5000,0x00007f9bad7d6000)]


        Current CompileTask:
        C2:1669320 32087 4 org.apache.derby.impl.store.access.heap.HeapController::lockRow (27 bytes)

        Stack: [0x00007f9bad6d5000,0x00007f9bad7d6000], sp=0x00007f9bad7d04a0, free space=1005k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x16a28a2] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x162
        V [libjvm.so+0x16a361f] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
        V [libjvm.so+0xa67a9d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
        V [libjvm.so+0xb80f3d] ConnectionGraph::add_final_edges(Node*)+0x76d
        V [libjvm.so+0xb89fcc] ConnectionGraph::compute_escape()+0x5fc
        V [libjvm.so+0xb8b5a5] ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0x185
        V [libjvm.so+0x9dc0ad] Compile::Optimize()+0x7bd
        V [libjvm.so+0x9ddaee] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x123e
        V [libjvm.so+0x80ac52] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2e2
        V [libjvm.so+0x9e9782] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x392
        V [libjvm.so+0x9ea2b1] CompileBroker::compiler_thread_loop()+0x1f1
        V [libjvm.so+0x16075de] JavaThread::thread_main_inner()+0x22e
        V [libjvm.so+0x160786e] JavaThread::run()+0x1ce
        V [libjvm.so+0x1348cf2] thread_native_entry(Thread*)+0x112
        C [libpthread.so.0+0x7df3] start_thread+0xc3

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thartmann Tobias Hartmann
                  Reporter:
                  jprovino Joseph Provino (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: