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

ciObjectFactory::create_new_metadata sees unsupported metadata type

XMLWordPrintable

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (ciObjectFactory.cpp:407), pid=88369, tid=24079
      # Error: ShouldNotReachHere()
      #
      # JRE version: Java(TM) SE Runtime Environment Oracle GraalVM 21-dev.ea+15.1 (21.0+15) (build 21-ea+15-LTS-1232)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21-dev.ea+15.1 (21-ea+15-LTS-1232, mixed mode, sharing, tiered, jvmci, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # JFR recording file will be written. Location: /Users/graal2/slave/e/main/graal-enterprise/hs_err_pid88369.jfr
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      Current CompileTask:
      C2: 6323 6717 ! 4 java.lang.VirtualThread::run (296 bytes)

      Stack: [0x0000700005628000,0x0000700005728000], sp=0x0000700005725510, free space=1013k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0xb35c26] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x596 (ciObjectFactory.cpp:407)
      V [libjvm.dylib+0xb3631b] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x3c3f15] report_vm_error(char const*, int, char const*, char const*, ...)+0xf5
      V [libjvm.dylib+0x315b34] ciObjectFactory::create_new_metadata(Metadata*)+0x244
      V [libjvm.dylib+0x314eb4] ciObjectFactory::get_metadata(Metadata*)+0xa4
      V [libjvm.dylib+0x2fbc4b] ciEnv::get_method_by_index_impl(constantPoolHandle const&, int, Bytecodes::Code, ciInstanceKlass*)+0x1db
      V [libjvm.dylib+0x31f0e9] ciBytecodeStream::get_method(bool&, ciSignature**)+0x189
      V [libjvm.dylib+0x323bd8] ciTypeFlow::StateVector::do_invoke(ciBytecodeStream*, bool)+0x48
      V [libjvm.dylib+0x324827] ciTypeFlow::StateVector::apply_one_bytecode(ciBytecodeStream*)+0x4a7
      V [libjvm.dylib+0x322ecf] ciTypeFlow::flow_block(ciTypeFlow::Block*, ciTypeFlow::StateVector*, ciTypeFlow::JsrSet*)+0x2ef
      V [libjvm.dylib+0x328d63] ciTypeFlow::df_flow_types(ciTypeFlow::Block*, bool, ciTypeFlow::StateVector*, ciTypeFlow::JsrSet*)+0x3f3
      V [libjvm.dylib+0x3291e2] ciTypeFlow::flow_types()+0x312
      V [libjvm.dylib+0x32969e] ciTypeFlow::do_flow()+0xe
      V [libjvm.dylib+0x307798] ciMethod::get_flow_analysis()+0x68
      V [libjvm.dylib+0x213a9c] InlineTree::ok_to_inline(ciMethod*, JVMState*, ciCallProfile&, bool&)+0x7c
      V [libjvm.dylib+0x44f477] Compile::call_generator(ciMethod*, int, bool, JVMState*, bool, float, ciKlass*, bool)+0x507
      V [libjvm.dylib+0x4504f0] Parse::do_call()+0x520
      V [libjvm.dylib+0x939e38] Parse::do_one_block()+0x218
      V [libjvm.dylib+0x938dc2] Parse::do_all_blocks()+0x4e2
      V [libjvm.dylib+0x9367d6] Parse::Parse(JVMState*, ciMethod*, float)+0x806
      V [libjvm.dylib+0x2cfa00] ParseGenerator::generate(JVMState*)+0x80
      V [libjvm.dylib+0x37ba9e] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xcbe
      V [libjvm.dylib+0x2cdbbf] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0xef
      V [libjvm.dylib+0x38f38a] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x4ca
      V [libjvm.dylib+0x38ee0c] CompileBroker::compiler_thread_loop()+0x5ec
      V [libjvm.dylib+0x5b1414] JavaThread::thread_main_inner()+0x94
      V [libjvm.dylib+0xab3b75] Thread::call_run()+0xa5
      V [libjvm.dylib+0x917d77] thread_native_entry(Thread*)+0x147
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf

            Unassigned Unassigned
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: