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

assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: hotspot

      Description

      CI testing failure:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S560/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/db9ad0b1-0fcf-4352-a239-1b401e497fe0/runs/91ee4133-8d56-4dd5-a4fc-9663376f7568/workspace/open/src/hotspot/share/ci/ciInstanceKlass.cpp:54), pid=9110, tid=9124
      # assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
      #
      # JRE version: Java(TM) SE Runtime Environment (15.0+27) (fastdebug build 15-ea+27-1318)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-ea+27-1318, compiled mode, sharing, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x7ecbb6] ciInstanceKlass::ciInstanceKlass(Klass*)+0x6a6

      --------------- T H R E A D ---------------

      Current thread (0x00007fa56c333fa0): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=9124, stack(0x00007fa54d5fe000,0x00007fa54d6ff000)]


      Current CompileTask:
      C2: 1095 230 b java.util.WeakHashMap::newTable (5 bytes)

      Stack: [0x00007fa54d5fe000,0x00007fa54d6ff000], sp=0x00007fa54d6fd370, free space=1020k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x7ecbb6] ciInstanceKlass::ciInstanceKlass(Klass*)+0x6a6
      V [libjvm.so+0x830765] ciObjectFactory::create_new_metadata(Metadata*)+0x385
      V [libjvm.so+0x82c8ff] ciObjectFactory::get_metadata(Metadata*)+0x1cf
      V [libjvm.so+0x7d4b08] ciEnv::get_klass_by_name_impl(ciKlass*, constantPoolHandle const&, ciSymbol*, bool)+0x6f8
      V [libjvm.so+0x7d4c98] ciEnv::get_klass_by_name_impl(ciKlass*, constantPoolHandle const&, ciSymbol*, bool)+0x888
      V [libjvm.so+0x842582] ciSignature::ciSignature(ciKlass*, constantPoolHandle const&, ciSymbol*)+0x2b2
      V [libjvm.so+0x8094cf] ciMethod::ciMethod(methodHandle const&, ciInstanceKlass*)+0x67f
      V [libjvm.so+0x83055d] ciObjectFactory::create_new_metadata(Metadata*)+0x17d
      V [libjvm.so+0x82c8ff] ciObjectFactory::get_metadata(Metadata*)+0x1cf
      V [libjvm.so+0x7d362a] ciEnv::get_method_from_handle(Method*)+0x1ea
      V [libjvm.so+0x915f61] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3c1
      V [libjvm.so+0x9176a8] CompileBroker::compiler_thread_loop()+0x6c8
      V [libjvm.so+0x16bd4cc] JavaThread::thread_main_inner()+0x21c
      V [libjvm.so+0x16c3240] Thread::call_run()+0x100
      V [libjvm.so+0x13c6346] thread_native_entry(Thread*)+0x116

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcubed Daniel Daugherty
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: