The following test failed in the JDK24 CI:
compiler/uncommontrap/DeoptReallocFailure.java
Here's a snippet from the log file:
#section:main
----------messages:(6/609)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbatch -Xmx100m -XX:CompileCommand=exclude,compiler.uncommontrap.DeoptReallocFailure::main compiler.uncommontrap.DeoptReallocFailure
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbatch -Xmx100m -XX:CompileCommand=exclude,compiler.uncommontrap.DeoptReallocFailure::main compiler.uncommontrap.DeoptReallocFailure
started: Mon Sep 23 13:15:36 UTC 2024
Mode: othervm [/othervm specified]
finished: Mon Sep 23 13:15:44 UTC 2024
elapsed time (seconds): 8.648
----------configuration:(0/0)----------
----------System.out:(22/1886)----------
CompileCommand: exclude compiler/uncommontrap/DeoptReallocFailure.main bool exclude = true
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S151442/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f613fec-a516-43bd-9a4c-16665c8af050/runs/6fe276e2-e7d5-4e33-8a6d-980543531a83/workspace/open/src/hotspot/share/oops/instanceKlassFlags.cpp:76), pid=3545107, tid=3545150
# assert(!set || SafepointSynchronize::is_at_safepoint()) failed: set once or at safepoint
#
# JRE version: Java(TM) SE Runtime Environment (24.0+17) (fastdebug build 24-ea+17-1854)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+17-1854, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xe5689e] InstanceKlassFlags::assert_is_safe(bool)+0x4e
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/f5c641a8-8835-4313-b2e9-9724f4dc0f29-S891/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32399dea-28c1-4195-81a3-b1a30fcf85bd/runs/17b0d89c-3171-454b-93e5-3c0414968810/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler/scratch/5/core.3545107)
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f5c641a8-8835-4313-b2e9-9724f4dc0f29-S891/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32399dea-28c1-4195-81a3-b1a30fcf85bd/runs/17b0d89c-3171-454b-93e5-3c0414968810/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler/scratch/5/hs_err_pid3545107.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(42/9337)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x00007ff04025ccb0): JavaThread "UsageTracker" daemon [_thread_in_vm, id=3545150, stack(0x00007ff01392b000,0x00007ff013a2b000) (1024K)]
Stack: [0x00007ff01392b000,0x00007ff013a2b000], sp=0x00007ff013a28010, free space=1012k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xe5689e] InstanceKlassFlags::assert_is_safe(bool)+0x4e (instanceKlassFlags.cpp:76)
V [libjvm.so+0x17ac46a] SharedClassLoadingMark::~SharedClassLoadingMark()+0x6a (instanceKlassFlags.hpp:100)
V [libjvm.so+0x17abc73] SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x5d3 (systemDictionary.cpp:1290)
V [libjvm.so+0x17a9a0c] SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c (systemDictionary.cpp:1361)
V [libjvm.so+0x17aa424] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4 (systemDictionary.cpp:718)
V [libjvm.so+0x17aadf0] SystemDictionary::resolve_with_circularity_detection(Symbol*, Symbol*, Handle, Handle, bool, JavaThread*)+0x230 (systemDictionary.cpp:487)
V [libjvm.so+0x17ab10a] SystemDictionary::check_shared_class_super_type(InstanceKlass*, InstanceKlass*, Handle, Handle, bool, JavaThread*)+0x7a (systemDictionary.cpp:1071)
V [libjvm.so+0x17ab23c] SystemDictionary::check_shared_class_super_types(InstanceKlass*, Handle, Handle, JavaThread*)+0x9c (systemDictionary.cpp:1100)
V [libjvm.so+0x17ab3c0] SystemDictionary::load_shared_class(InstanceKlass*, Handle, Handle, ClassFileStream const*, PackageEntry*, JavaThread*)+0x70 (systemDictionary.cpp:1156)
V [libjvm.so+0x17abc37] SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x597 (systemDictionary.cpp:1289)
V [libjvm.so+0x17a9a0c] SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c (systemDictionary.cpp:1361)
V [libjvm.so+0x17aa424] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4 (systemDictionary.cpp:718)
V [libjvm.so+0x17aadf0] SystemDictionary::resolve_with_circularity_detection(Symbol*, Symbol*, Handle, Handle, bool, JavaThread*)+0x230 (systemDictionary.cpp:487)
V [libjvm.so+0x17ab10a] SystemDictionary::check_shared_class_super_type(InstanceKlass*, InstanceKlass*, Handle, Handle, bool, JavaThread*)+0x7a (systemDictionary.cpp:1071)
V [libjvm.so+0x17ab23c] SystemDictionary::check_shared_class_super_types(InstanceKlass*, Handle, Handle, JavaThread*)+0x9c (systemDictionary.cpp:1100)
V [libjvm.so+0x17ab3c0] SystemDictionary::load_shared_class(InstanceKlass*, Handle, Handle, ClassFileStream const*, PackageEntry*, JavaThread*)+0x70 (systemDictionary.cpp:1156)
V [libjvm.so+0x17abc37] SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x597 (systemDictionary.cpp:1289)
V [libjvm.so+0x17a9a0c] SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c (systemDictionary.cpp:1361)
V [libjvm.so+0x17aa424] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4 (systemDictionary.cpp:718)
V [libjvm.so+0x17aab52] SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, JavaThread*)+0x22 (systemDictionary.cpp:335)
V [libjvm.so+0xa5872f] ConstantPool::klass_at_impl(constantPoolHandle const&, int, JavaThread*)+0x18f (constantPool.cpp:599)
V [libjvm.so+0xe7fa26] InterpreterRuntime::_new(JavaThread*, ConstantPool*, int)+0x86 (constantPool.hpp:381)
j java.util.concurrent.ConcurrentSkipListSet.<init>()V+5 java.base@24-ea
j java.net.InetAddress.<clinit>()V+83 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
V [libjvm.so+0xe9809c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x48c (javaCalls.cpp:421)
V [libjvm.so+0xe4463a] InstanceKlass::call_class_initializer(JavaThread*)+0x26a (instanceKlass.cpp:1608)
V [libjvm.so+0xe4a385] InstanceKlass::initialize_impl(JavaThread*)+0x7d5 (instanceKlass.cpp:1212)
V [libjvm.so+0xe4a9fe] InstanceKlass::initialize(JavaThread*)+0x9e (instanceKlass.cpp:779)
V [libjvm.so+0x126db28] LinkResolver::resolve_static_call(CallInfo&, LinkInfo const&, bool, JavaThread*)+0x98 (linkResolver.cpp:1112)
V [libjvm.so+0x126ddc3] LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle const&, int, JavaThread*)+0x73 (linkResolver.cpp:1746)
V [libjvm.so+0x1271168] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle const&, int, Bytecodes::Code, JavaThread*)+0x108 (linkResolver.cpp:1705)
V [libjvm.so+0xe7eb47] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x2d7 (interpreterRuntime.cpp:824)
V [libjvm.so+0xe7f358] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x88 (interpreterRuntime.cpp:986)
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.buildMessage(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+73 java.base@24-ea
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.run()V+57 java.base@24-ea
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@24-ea
j java.lang.Thread.run()V+19 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
V [libjvm.so+0xe9809c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x48c (javaCalls.cpp:421)
V [libjvm.so+0xe9876c] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x34c (javaCalls.cpp:329)
V [libjvm.so+0xe98986] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x76 (javaCalls.cpp:191)
V [libjvm.so+0x1006b13] thread_entry(JavaThread*, JavaThread*)+0x93 (jvm.cpp:2910)
V [libjvm.so+0xecebbc] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:758)
V [libjvm.so+0x17fc8c6] Thread::call_run()+0xb6 (thread.cpp:225)
V [libjvm.so+0x14e5da7] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.util.concurrent.ConcurrentSkipListSet.<init>()V+5 java.base@24-ea
j java.net.InetAddress.<clinit>()V+83 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.buildMessage(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+73 java.base@24-ea
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.run()V+57 java.base@24-ea
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@24-ea
j java.lang.Thread.run()V+19 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
This failure was spotted in a compiler test, but the failing assert
is in InstanceKlassFlags::assert_is_safe() which is called from a
CDS destructor SharedClassLoadingMark, and there's lots of
SystemDictionary and class loading code on the stack. I'm going
to start this bug in hotspot/runtime for initial triage.
compiler/uncommontrap/DeoptReallocFailure.java
Here's a snippet from the log file:
#section:main
----------messages:(6/609)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbatch -Xmx100m -XX:CompileCommand=exclude,compiler.uncommontrap.DeoptReallocFailure::main compiler.uncommontrap.DeoptReallocFailure
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbatch -Xmx100m -XX:CompileCommand=exclude,compiler.uncommontrap.DeoptReallocFailure::main compiler.uncommontrap.DeoptReallocFailure
started: Mon Sep 23 13:15:36 UTC 2024
Mode: othervm [/othervm specified]
finished: Mon Sep 23 13:15:44 UTC 2024
elapsed time (seconds): 8.648
----------configuration:(0/0)----------
----------System.out:(22/1886)----------
CompileCommand: exclude compiler/uncommontrap/DeoptReallocFailure.main bool exclude = true
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S151442/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f613fec-a516-43bd-9a4c-16665c8af050/runs/6fe276e2-e7d5-4e33-8a6d-980543531a83/workspace/open/src/hotspot/share/oops/instanceKlassFlags.cpp:76), pid=3545107, tid=3545150
# assert(!set || SafepointSynchronize::is_at_safepoint()) failed: set once or at safepoint
#
# JRE version: Java(TM) SE Runtime Environment (24.0+17) (fastdebug build 24-ea+17-1854)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+17-1854, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xe5689e] InstanceKlassFlags::assert_is_safe(bool)+0x4e
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/f5c641a8-8835-4313-b2e9-9724f4dc0f29-S891/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32399dea-28c1-4195-81a3-b1a30fcf85bd/runs/17b0d89c-3171-454b-93e5-3c0414968810/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler/scratch/5/core.3545107)
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f5c641a8-8835-4313-b2e9-9724f4dc0f29-S891/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32399dea-28c1-4195-81a3-b1a30fcf85bd/runs/17b0d89c-3171-454b-93e5-3c0414968810/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler/scratch/5/hs_err_pid3545107.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(42/9337)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x00007ff04025ccb0): JavaThread "UsageTracker" daemon [_thread_in_vm, id=3545150, stack(0x00007ff01392b000,0x00007ff013a2b000) (1024K)]
Stack: [0x00007ff01392b000,0x00007ff013a2b000], sp=0x00007ff013a28010, free space=1012k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xe5689e] InstanceKlassFlags::assert_is_safe(bool)+0x4e (instanceKlassFlags.cpp:76)
V [libjvm.so+0x17ac46a] SharedClassLoadingMark::~SharedClassLoadingMark()+0x6a (instanceKlassFlags.hpp:100)
V [libjvm.so+0x17abc73] SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x5d3 (systemDictionary.cpp:1290)
V [libjvm.so+0x17a9a0c] SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c (systemDictionary.cpp:1361)
V [libjvm.so+0x17aa424] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4 (systemDictionary.cpp:718)
V [libjvm.so+0x17aadf0] SystemDictionary::resolve_with_circularity_detection(Symbol*, Symbol*, Handle, Handle, bool, JavaThread*)+0x230 (systemDictionary.cpp:487)
V [libjvm.so+0x17ab10a] SystemDictionary::check_shared_class_super_type(InstanceKlass*, InstanceKlass*, Handle, Handle, bool, JavaThread*)+0x7a (systemDictionary.cpp:1071)
V [libjvm.so+0x17ab23c] SystemDictionary::check_shared_class_super_types(InstanceKlass*, Handle, Handle, JavaThread*)+0x9c (systemDictionary.cpp:1100)
V [libjvm.so+0x17ab3c0] SystemDictionary::load_shared_class(InstanceKlass*, Handle, Handle, ClassFileStream const*, PackageEntry*, JavaThread*)+0x70 (systemDictionary.cpp:1156)
V [libjvm.so+0x17abc37] SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x597 (systemDictionary.cpp:1289)
V [libjvm.so+0x17a9a0c] SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c (systemDictionary.cpp:1361)
V [libjvm.so+0x17aa424] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4 (systemDictionary.cpp:718)
V [libjvm.so+0x17aadf0] SystemDictionary::resolve_with_circularity_detection(Symbol*, Symbol*, Handle, Handle, bool, JavaThread*)+0x230 (systemDictionary.cpp:487)
V [libjvm.so+0x17ab10a] SystemDictionary::check_shared_class_super_type(InstanceKlass*, InstanceKlass*, Handle, Handle, bool, JavaThread*)+0x7a (systemDictionary.cpp:1071)
V [libjvm.so+0x17ab23c] SystemDictionary::check_shared_class_super_types(InstanceKlass*, Handle, Handle, JavaThread*)+0x9c (systemDictionary.cpp:1100)
V [libjvm.so+0x17ab3c0] SystemDictionary::load_shared_class(InstanceKlass*, Handle, Handle, ClassFileStream const*, PackageEntry*, JavaThread*)+0x70 (systemDictionary.cpp:1156)
V [libjvm.so+0x17abc37] SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x597 (systemDictionary.cpp:1289)
V [libjvm.so+0x17a9a0c] SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c (systemDictionary.cpp:1361)
V [libjvm.so+0x17aa424] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4 (systemDictionary.cpp:718)
V [libjvm.so+0x17aab52] SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, JavaThread*)+0x22 (systemDictionary.cpp:335)
V [libjvm.so+0xa5872f] ConstantPool::klass_at_impl(constantPoolHandle const&, int, JavaThread*)+0x18f (constantPool.cpp:599)
V [libjvm.so+0xe7fa26] InterpreterRuntime::_new(JavaThread*, ConstantPool*, int)+0x86 (constantPool.hpp:381)
j java.util.concurrent.ConcurrentSkipListSet.<init>()V+5 java.base@24-ea
j java.net.InetAddress.<clinit>()V+83 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
V [libjvm.so+0xe9809c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x48c (javaCalls.cpp:421)
V [libjvm.so+0xe4463a] InstanceKlass::call_class_initializer(JavaThread*)+0x26a (instanceKlass.cpp:1608)
V [libjvm.so+0xe4a385] InstanceKlass::initialize_impl(JavaThread*)+0x7d5 (instanceKlass.cpp:1212)
V [libjvm.so+0xe4a9fe] InstanceKlass::initialize(JavaThread*)+0x9e (instanceKlass.cpp:779)
V [libjvm.so+0x126db28] LinkResolver::resolve_static_call(CallInfo&, LinkInfo const&, bool, JavaThread*)+0x98 (linkResolver.cpp:1112)
V [libjvm.so+0x126ddc3] LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle const&, int, JavaThread*)+0x73 (linkResolver.cpp:1746)
V [libjvm.so+0x1271168] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle const&, int, Bytecodes::Code, JavaThread*)+0x108 (linkResolver.cpp:1705)
V [libjvm.so+0xe7eb47] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x2d7 (interpreterRuntime.cpp:824)
V [libjvm.so+0xe7f358] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x88 (interpreterRuntime.cpp:986)
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.buildMessage(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+73 java.base@24-ea
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.run()V+57 java.base@24-ea
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@24-ea
j java.lang.Thread.run()V+19 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
V [libjvm.so+0xe9809c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x48c (javaCalls.cpp:421)
V [libjvm.so+0xe9876c] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x34c (javaCalls.cpp:329)
V [libjvm.so+0xe98986] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x76 (javaCalls.cpp:191)
V [libjvm.so+0x1006b13] thread_entry(JavaThread*, JavaThread*)+0x93 (jvm.cpp:2910)
V [libjvm.so+0xecebbc] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:758)
V [libjvm.so+0x17fc8c6] Thread::call_run()+0xb6 (thread.cpp:225)
V [libjvm.so+0x14e5da7] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.util.concurrent.ConcurrentSkipListSet.<init>()V+5 java.base@24-ea
j java.net.InetAddress.<clinit>()V+83 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.buildMessage(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+73 java.base@24-ea
j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.run()V+57 java.base@24-ea
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@24-ea
j java.lang.Thread.run()V+19 java.base@24-ea
v ~StubRoutines::call_stub 0x00007ff02fd68d01
This failure was spotted in a compiler test, but the failing assert
is in InstanceKlassFlags::assert_is_safe() which is called from a
CDS destructor SharedClassLoadingMark, and there's lots of
SystemDictionary and class loading code on the stack. I'm going
to start this bug in hotspot/runtime for initial triage.
- relates to
-
JDK-8338693 assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
- Resolved
- links to
-
Commit(master) openjdk/jdk/e6373b52
-
Review(master) openjdk/jdk/21187