Assembly run using -Xcomp -XX:TieredStopAtLevel=1 fails with the following assertion failure:
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/compileBroker.cpp:1602), pid=1159629, tid=1159630
# assert(comp != nullptr) failed: Ensure we have a compiler
#
# JRE version: OpenJDK Runtime Environment (25.0) (slowdebug build 25-internal-adhoc.asmehra.leyden)
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 25-internal-adhoc.asmehra.leyden, compiled mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x750c55] CompileBroker::compile_method(methodHandle const&, int, int, int, bool, CompileTask::CompileReason, JavaThread*)+0xcf
Stack trace:
#6 0x00007f9bc61f50bf in report_vm_error (file=0x7f9bc7968a20 "/home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/compileBroker.cpp", line=1602, error_msg=0x7f9bc7968ec8 "assert(comp != nullptr) failed",
detail_fmt=0x7f9bc796959a "Ensure we have a compiler") at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/utilities/debug.cpp:196
#7 0x00007f9bc6150c7f in CompileBroker::compile_method (method=..., osr_bci=-1, comp_level=4, hot_count=0, requires_online_compilation=true, compile_reason=CompileTask::Reason_PrecompileForPreload, __the_thread__=0x7f9bc001e560)
at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/compileBroker.cpp:1602
#8 0x00007f9bc6ced91f in PrecompileIterator::schedule_compilations (this=0x7f9bc59fb1e0, __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/precompiler.cpp:134
#9 0x00007f9bc6cedd35 in PrecompileIterator::precompile (this=0x7f9bc59fb1e0, builder=0x7f9bc59fc470, __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/precompiler.cpp:175
#10 0x00007f9bc6cecb6e in Precompiler::compile_cached_code (builder=0x7f9bc59fc470, __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/precompiler.cpp:231
#11 0x00007f9bc6b81767 in MetaspaceShared::preload_and_dump_impl (builder=..., __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/cds/metaspaceShared.cpp:1098
#12 0x00007f9bc6b8082a in MetaspaceShared::preload_and_dump (__the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/cds/metaspaceShared.cpp:845
#13 0x00007f9bc70babbb in Threads::create_vm (args=0x7f9bc59fed90, canTryAgain=0x7f9bc59fec83) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/runtime/threads.cpp:932
#14 0x00007f9bc6776368 in JNI_CreateJavaVM_inner (vm=0x7f9bc59fede8, penv=0x7f9bc59fedf0, args=0x7f9bc59fed90) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/prims/jni.cpp:3587
#15 0x00007f9bc6776836 in JNI_CreateJavaVM (vm=0x7f9bc59fede8, penv=0x7f9bc59fedf0, args=0x7f9bc59fed90) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/prims/jni.cpp:3678
#16 0x00007f9bc8e46fd5 in InitializeJVM (pvm=0x7f9bc59fede8, penv=0x7f9bc59fedf0, ifn=0x7f9bc59fee50) at /home/asmehra/data/ashu-mehra/leyden/src/java.base/share/native/libjli/java.c:1510
#17 0x00007f9bc8e43776 in JavaMain (_args=0x7ffccde85910) at /home/asmehra/data/ashu-mehra/leyden/src/java.base/share/native/libjli/java.c:494
#18 0x00007f9bc8e4af00 in ThreadJavaMain (args=0x7ffccde85910) at /home/asmehra/data/ashu-mehra/leyden/src/java.base/unix/native/libjli/java_md.c:646
#19 0x00007f9bc8ca91d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#20 0x00007f9bc8d2bcec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/compileBroker.cpp:1602), pid=1159629, tid=1159630
# assert(comp != nullptr) failed: Ensure we have a compiler
#
# JRE version: OpenJDK Runtime Environment (25.0) (slowdebug build 25-internal-adhoc.asmehra.leyden)
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 25-internal-adhoc.asmehra.leyden, compiled mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x750c55] CompileBroker::compile_method(methodHandle const&, int, int, int, bool, CompileTask::CompileReason, JavaThread*)+0xcf
Stack trace:
#6 0x00007f9bc61f50bf in report_vm_error (file=0x7f9bc7968a20 "/home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/compileBroker.cpp", line=1602, error_msg=0x7f9bc7968ec8 "assert(comp != nullptr) failed",
detail_fmt=0x7f9bc796959a "Ensure we have a compiler") at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/utilities/debug.cpp:196
#7 0x00007f9bc6150c7f in CompileBroker::compile_method (method=..., osr_bci=-1, comp_level=4, hot_count=0, requires_online_compilation=true, compile_reason=CompileTask::Reason_PrecompileForPreload, __the_thread__=0x7f9bc001e560)
at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/compileBroker.cpp:1602
#8 0x00007f9bc6ced91f in PrecompileIterator::schedule_compilations (this=0x7f9bc59fb1e0, __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/precompiler.cpp:134
#9 0x00007f9bc6cedd35 in PrecompileIterator::precompile (this=0x7f9bc59fb1e0, builder=0x7f9bc59fc470, __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/precompiler.cpp:175
#10 0x00007f9bc6cecb6e in Precompiler::compile_cached_code (builder=0x7f9bc59fc470, __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/compiler/precompiler.cpp:231
#11 0x00007f9bc6b81767 in MetaspaceShared::preload_and_dump_impl (builder=..., __the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/cds/metaspaceShared.cpp:1098
#12 0x00007f9bc6b8082a in MetaspaceShared::preload_and_dump (__the_thread__=0x7f9bc001e560) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/cds/metaspaceShared.cpp:845
#13 0x00007f9bc70babbb in Threads::create_vm (args=0x7f9bc59fed90, canTryAgain=0x7f9bc59fec83) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/runtime/threads.cpp:932
#14 0x00007f9bc6776368 in JNI_CreateJavaVM_inner (vm=0x7f9bc59fede8, penv=0x7f9bc59fedf0, args=0x7f9bc59fed90) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/prims/jni.cpp:3587
#15 0x00007f9bc6776836 in JNI_CreateJavaVM (vm=0x7f9bc59fede8, penv=0x7f9bc59fedf0, args=0x7f9bc59fed90) at /home/asmehra/data/ashu-mehra/leyden/src/hotspot/share/prims/jni.cpp:3678
#16 0x00007f9bc8e46fd5 in InitializeJVM (pvm=0x7f9bc59fede8, penv=0x7f9bc59fedf0, ifn=0x7f9bc59fee50) at /home/asmehra/data/ashu-mehra/leyden/src/java.base/share/native/libjli/java.c:1510
#17 0x00007f9bc8e43776 in JavaMain (_args=0x7ffccde85910) at /home/asmehra/data/ashu-mehra/leyden/src/java.base/share/native/libjli/java.c:494
#18 0x00007f9bc8e4af00 in ThreadJavaMain (args=0x7ffccde85910) at /home/asmehra/data/ashu-mehra/leyden/src/java.base/unix/native/libjli/java_md.c:646
#19 0x00007f9bc8ca91d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#20 0x00007f9bc8d2bcec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78