JDK-8215889 : assert(!_unloading) failed: This oop is not available to unloading class loader data with ZGC
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-12-21
  • Updated: 2024-07-09
  • Resolved: 2019-01-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 JDK 13
11.0.14-oracleFixed 12 b28Fixed 13Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (src/hotspot/share/classfile/classLoaderData.inline.hpp:36), pid=2828,
tid=2845
#  assert(!_unloading) failed: This oop is not available to unloading class loader data
#
# JRE version: Java(TM) SE Runtime Environment (12.0) (fastdebug build 12-internal+0-jdk12-jdk.1167)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 12-internal+0-jdk12-jdk.1167, mixed mode, tiered, z gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x11a6d1a]  Klass::class_loader() const+0x7a
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Comments
Fix Request (11u): Should get backported for parity with 11.0.14-oracle. Applies cleanly, but requires modification because JDK-8212108 is not in 11u. Review: https://github.com/openjdk/jdk11u-dev/pull/434 I've also requested backport of JDK-8231501 which is a follow-up fix. See "Fix Request" comment there.
28-09-2021

URL: http://hg.openjdk.java.net/jdk/jdk12/rev/4b469f5f4bf2 User: eosterlund Date: 2019-01-11 07:57:49 +0000
11-01-2019

More from hs_err: tack: [0x00007f1e59ef7000,0x00007f1e59ff8000], sp=0x00007f1e59ff4e40, free space=1015k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x11a6d1a] Klass::class_loader() const+0x7a V [libjvm.so+0x89801c] ciInstanceKlass::ciInstanceKlass(Klass*)+0x1cc V [libjvm.so+0x8d48e2] ciObjectFactory::create_new_metadata(Metadata*)+0x372 V [libjvm.so+0x8d521f] ciObjectFactory::get_metadata(Metadata*)+0x14f V [libjvm.so+0x8d4819] ciObjectFactory::create_new_metadata(Metadata*)+0x2a9 V [libjvm.so+0x8d521f] ciObjectFactory::get_metadata(Metadata*)+0x14f V [libjvm.so+0x8bab1f] ciMethodData::load_extra_data()+0x2ef V [libjvm.so+0x8bce93] ciMethodData::load_data()+0x533 V [libjvm.so+0x8aa0ff] ciMethod::ensure_method_data(methodHandle const&) [clone .part.78]+0x5f V [libjvm.so+0x8af385] ciMethod::ensure_method_data()+0x175 V [libjvm.so+0x702744] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x204 V [libjvm.so+0x70397c] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x1dc V [libjvm.so+0x704422] GraphBuilder::invoke(Bytecodes::Code)+0x9e2 V [libjvm.so+0x7065c7] GraphBuilder::iterate_bytecodes_for_block(int)+0x1867 V [libjvm.so+0x7071c5] GraphBuilder::iterate_all_blocks(bool)+0xe5 V [libjvm.so+0x702ee8] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x9a8 V [libjvm.so+0x70397c] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x1dc V [libjvm.so+0x704422] GraphBuilder::invoke(Bytecodes::Code)+0x9e2 V [libjvm.so+0x7065c7] GraphBuilder::iterate_bytecodes_for_block(int)+0x1867 V [libjvm.so+0x70725b] GraphBuilder::iterate_all_blocks(bool)+0x17b V [libjvm.so+0x702ee8] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x9a8 V [libjvm.so+0x70397c] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x1dc V [libjvm.so+0x704422] GraphBuilder::invoke(Bytecodes::Code)+0x9e2 V [libjvm.so+0x7065c7] GraphBuilder::iterate_bytecodes_for_block(int)+0x1867 V [libjvm.so+0x70725b] GraphBuilder::iterate_all_blocks(bool)+0x17b V [libjvm.so+0x702ee8] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x9a8 V [libjvm.so+0x70397c] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x1dc V [libjvm.so+0x704422] GraphBuilder::invoke(Bytecodes::Code)+0x9e2 V [libjvm.so+0x7065c7] GraphBuilder::iterate_bytecodes_for_block(int)+0x1867 V [libjvm.so+0x7071c5] GraphBuilder::iterate_all_blocks(bool)+0xe5 V [libjvm.so+0x702ee8] GraphBuilder::try_inline_full(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x9a8 V [libjvm.so+0x70397c] GraphBuilder::try_inline(ciMethod*, bool, bool, Bytecodes::Code, Instruction*)+0x1dc V [libjvm.so+0x704422] GraphBuilder::invoke(Bytecodes::Code)+0x9e2 V [libjvm.so+0x7065c7] GraphBuilder::iterate_bytecodes_for_block(int)+0x1867 V [libjvm.so+0x70725b] GraphBuilder::iterate_all_blocks(bool)+0x17b V [libjvm.so+0x708186] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x246 V [libjvm.so+0x713989] IR::IR(Compilation*, ciMethod*, int)+0x669 V [libjvm.so+0x6d9bc0] Compilation::build_hir() [clone .part.104]+0x260 V [libjvm.so+0x6ded18] Compilation::compile_java_method()+0xbb8 V [libjvm.so+0x6df404] Compilation::compile_method()+0x1d4 V [libjvm.so+0x6dffd7] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, DirectiveSet*)+0x357 V [libjvm.so+0x6e220c] Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x14c V [libjvm.so+0xa0e5a9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x409 V [libjvm.so+0xa0f6c8] CompileBroker::compiler_thread_loop()+0x458 V [libjvm.so+0x17ae737] JavaThread::thread_main_inner()+0x2c7 V [libjvm.so+0x17aea0c] JavaThread::run()+0x1cc V [libjvm.so+0x17aa675] Thread::call_run()+0x75 V [libjvm.so+0x14953e6] thread_native_entry(Thread*)+0x106
21-12-2018