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

C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose

    Details

    • Subcomponent:
    • Resolved In Build:
      b27

      Backports

        Description

        # Internal Error (/oracle/jdk_jdk/open/src/hotspot/share/c1/c1_Instruction.hpp:437), pid=23689, tid=23701
        # assert(has_printable_bci()) failed: _printable_bci should have been set

        Current CompileTask:
        C1: 417 199 33 43 2 java.util.HashMap::putVal (300 bytes)

        Stack: [0x00007f16e41a1000,0x00007f16e42a2000], sp=0x00007f16e429f7e0, free space=1017k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x71ccbc] InstructionPrinter::print_line(Instruction*)+0x1dc
        V [libjvm.so+0x70dd55] Instruction::print_line()+0x35
        V [libjvm.so+0x6fecd1] MemoryBuffer::store(StoreField*)+0x4a1
        V [libjvm.so+0x6ef660] GraphBuilder::access_field(Bytecodes::Code)+0x2a0
        V [libjvm.so+0x6f5a6b] GraphBuilder::iterate_bytecodes_for_block(int)+0xb1b
        V [libjvm.so+0x6f727d] GraphBuilder::iterate_all_blocks(bool)+0xbd
        V [libjvm.so+0x6f317d] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0xabd
        V [libjvm.so+0x6f3b74] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x224
        V [libjvm.so+0x6f460f] GraphBuilder::invoke(Bytecodes::Code)+0x9ef
        V [libjvm.so+0x6f5a5b] GraphBuilder::iterate_bytecodes_for_block(int)+0xb0b
        V [libjvm.so+0x6f727d] GraphBuilder::iterate_all_blocks(bool)+0xbd
        V [libjvm.so+0x6f317d] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0xabd
        V [libjvm.so+0x6f3b74] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x224
        V [libjvm.so+0x6f460f] GraphBuilder::invoke(Bytecodes::Code)+0x9ef
        V [libjvm.so+0x6f5a5b] GraphBuilder::iterate_bytecodes_for_block(int)+0xb0b
        V [libjvm.so+0x6f7369] GraphBuilder::iterate_all_blocks(bool)+0x1a9
        V [libjvm.so+0x6f8311] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x3b1
        V [libjvm.so+0x701f35] IR::IR(Compilation*, ciMethod*, int)+0x735
        V [libjvm.so+0x6cf210] Compilation::build_hir() [clone .part.105]+0x320
        V [libjvm.so+0x6d3538] Compilation::compile_java_method()+0xac8
        V [libjvm.so+0x6d39cf] Compilation::compile_method()+0x24f
        V [libjvm.so+0x6d4335] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, DirectiveSet*)+0x3b5
        V [libjvm.so+0x6d610a] Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x1aa
        V [libjvm.so+0x9836db] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2db
        V [libjvm.so+0x9846b8] CompileBroker::compiler_thread_loop()+0x4d8
        V [libjvm.so+0x16a8d66] JavaThread::thread_main_inner()+0x206
        V [libjvm.so+0x16adec6] Thread::call_run()+0xf6
        V [libjvm.so+0x13c950e] thread_native_entry(Thread*)+0x10e

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xliu Xin Liu
                  Reporter:
                  thartmann Tobias Hartmann
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: