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

Error: ShouldNotReachHere(): ciEnv::get_klass_by_index_impl(constantPoolHandle const&, int, bool&, ciInstanceKlass*)

    Details

      Description

      Stress test executed in Xcomp failed with:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1213/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d4b6471c-4ccb-4b40-b41d-d9108362a3ad/runs/ea5059d3-502b-47cc-82fe-396444c99e7e/workspace/open/src/hotspot/share/ci/ciEnv.hpp:177), pid=1700, tid=1714
      # Error: ShouldNotReachHere()
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-jdk13-jdk.313)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-jdk13-jdk.313, compiled mode, sharing, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x885a65] ciEnv::get_klass_by_index_impl(constantPoolHandle const&, int, bool&, ciInstanceKlass*)+0x595
      #
      ...

      Current thread (0x00007f222437a000): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=1714, stack(0x00007f21e8383000,0x00007f21e8484000)]


      Current CompileTask:
      C2:
      [error occurred during error reporting (printing current compile task), id 0xe0000000, Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1213/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d4b6471c-4ccb-4b40-b41d-d9108362a3ad/runs/ea5059d3-502b-47cc-82fe-396444c99e7e/workspace/open/src/hotspot/share/runtime/timer.cpp:112)]

      Stack: [0x00007f21e8383000,0x00007f21e8484000], sp=0x00007f21e84800c0, free space=1012k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x885a65] ciEnv::get_klass_by_index_impl(constantPoolHandle const&, int, bool&, ciInstanceKlass*)+0x595
      V [libjvm.so+0x88622b] ciEnv::get_method_by_index_impl(constantPoolHandle const&, int, Bytecodes::Code, ciInstanceKlass*)+0x5b
      V [libjvm.so+0x886901] ciEnv::get_method_by_index(constantPoolHandle const&, int, Bytecodes::Code, ciInstanceKlass*)+0x101
      V [libjvm.so+0x8fd1c1] ciBytecodeStream::get_method(bool&, ciSignature**)+0x2b1
      V [libjvm.so+0x909432] ciTypeFlow::StateVector::do_invoke(ciBytecodeStream*, bool)+0x32
      V [libjvm.so+0x90c940] ciTypeFlow::StateVector::apply_one_bytecode(ciBytecodeStream*)+0x1a0
      V [libjvm.so+0x910a5e] ciTypeFlow::flow_block(ciTypeFlow::Block*, ciTypeFlow::StateVector*, ciTypeFlow::JsrSet*)+0x1ae
      V [libjvm.so+0x9122b1] ciTypeFlow::df_flow_types(ciTypeFlow::Block*, bool, ciTypeFlow::StateVector*, ciTypeFlow::JsrSet*)+0x551
      V [libjvm.so+0x912741] ciTypeFlow::flow_types()+0x171
      V [libjvm.so+0x912ad6] ciTypeFlow::do_flow()+0x26
      V [libjvm.so+0x8af444] ciMethod::get_flow_analysis()+0x64
      V [libjvm.so+0x6b3217] InlineTree::ok_to_inline(ciMethod*, JVMState*, ciCallProfile&, WarmCallInfo*, bool&)+0x317
      V [libjvm.so+0xbce493] Compile::call_generator(ciMethod*, int, bool, JVMState*, bool, float, ciKlass*, bool, bool)+0x883
      V [libjvm.so+0xbcfd8a] Parse::do_call()+0x42a
      V [libjvm.so+0x150d13f] Parse::do_one_bytecode()+0x2d4f
      V [libjvm.so+0x14fbb0a] Parse::do_one_block()+0x44a
      V [libjvm.so+0x14fc4c1] Parse::do_all_blocks()+0xe1
      V [libjvm.so+0x14fe3e1] Parse::Parse(JVMState*, ciMethod*, float)+0xcf1
      V [libjvm.so+0x808b3c] ParseGenerator::generate(JVMState*)+0x8c
      V [libjvm.so+0xa01c1b] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xabb
      V [libjvm.so+0x80701e] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xde
      V [libjvm.so+0xa0f5a2] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x402
      V [libjvm.so+0xa106d8] CompileBroker::compiler_thread_loop()+0x458
      V [libjvm.so+0x17af94f] JavaThread::thread_main_inner()+0x2cf
      V [libjvm.so+0x17b8abc] JavaThread::run()+0x1cc
      V [libjvm.so+0x17b62f0] Thread::call_run()+0x100
      V [libjvm.so+0x149eead] thread_native_entry(Thread*)+0x10d

        Attachments

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              lmesnik Leonid Mesnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: