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

assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice

    XMLWordPrintable

Details

    • b09
    • generic
    • generic
    • Verified

    Backports

      Description

        Application crashes (JDK 7 b114, HS 20 b01, fastdebug -XX:+AggressiveOpts):

        # Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/opto/escape.cpp:608), pid=5760, tid=2563308432
        # assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice


        Current thread (0x09f00800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=5786, stack(0x98c0f000,0x98c90000)]

        Stack: [0x98c0f000,0x98c90000], sp=0x98c8d060, free space=504k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xa57657];; VMError::report(outputStream*)+0x1207
        V [libjvm.so+0xa578dd];; VMError::report_and_die()+0x18d
        V [libjvm.so+0x4bc6c8];; report_vm_error(char const*, int, char const*, char const*)+0x68
        V [libjvm.so+0x52edbf];; ConnectionGraph::create_split_phi(PhiNode*, int, GrowableArray<PhiNode*>&, PhaseGVN*, bool&)+0x3ef
        V [libjvm.so+0x5320e0];; ConnectionGraph::split_memory_phi(PhiNode*, int, GrowableArray<PhiNode*>&, PhaseGVN*)+0x50
        V [libjvm.so+0x53300f];; ConnectionGraph::find_inst_mem(Node*, int, GrowableArray<PhiNode*>&, PhaseGVN*)+0x7ff
        V [libjvm.so+0x5321fe];; ConnectionGraph::split_memory_phi(PhiNode*, int, GrowableArray<PhiNode*>&, PhaseGVN*)+0x16e
        V [libjvm.so+0x53300f];; ConnectionGraph::find_inst_mem(Node*, int, GrowableArray<PhiNode*>&, PhaseGVN*)+0x7ff
        V [libjvm.so+0x5341ea];; ConnectionGraph::split_unique_types(GrowableArray<Node*>&)+0x85a
        V [libjvm.so+0x5382b3];; ConnectionGraph::compute_escape()+0x1233
        V [libjvm.so+0x5389f7];; ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0xa7
        V [libjvm.so+0x4533d2];; Compile::Optimize()+0xab2
        V [libjvm.so+0x454aec];; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0xe8c
        V [libjvm.so+0x375765];; C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x1e5
        V [libjvm.so+0x45db0a];; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x44a
        V [libjvm.so+0x45ee59];; CompileBroker::compiler_thread_loop()+0x5c9
        V [libjvm.so+0x9f614f];; compiler_thread_entry(JavaThread*, Thread*)+0x4f
        V [libjvm.so+0xa005e4];; JavaThread::thread_main_inner()+0xf4
        V [libjvm.so+0xa007e8];; JavaThread::run()+0x1b8
        V [libjvm.so+0x88d379];; java_start(Thread*)+0xf9
        C [libpthread.so.0+0x64ff]


        Current CompileTask:
        C2: 603966 12332 net.sourceforge.pmd.typeresolution.ClassTypeResolver.populateImports(Lnet/sourceforge/pmd/ast/ASTCompilationUnit;)V (145 bytes)

        Attachments

          Issue Links

            Activity

              People

                kvn Vladimir Kozlov
                nhaustov Nicolay Haustov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: