The following test failed in the JDK20 CI:
compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java
Here's a snippet from the log file:
#section:main
----------messages:(6/530)----------
command: main -XX:TieredCompileTaskTimeout=1000 -XX:CompileThresholdScaling=0.001 -XX:CICompilerCount=2 compiler.classUnloading.methodUnloading.TestOverloadCompileQueues
reason: User specified action: run main/othervm/timeout=300 -XX:TieredCompileTaskTimeout=1000 -XX:CompileThresholdScaling=0.001 -XX:CICompilerCount=2 compiler.classUnloading.methodUnloading.TestOverloadCompileQueues
started: Thu Oct 27 00:47:45 UTC 2022
Mode: othervm [/othervm specified]
finished: Thu Oct 27 00:47:58 UTC 2022
elapsed time (seconds): 13.201
----------configuration:(0/0)----------
----------System.out:(19/1413)----------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x0000fffcc4f14e00, pid=2403650, tid=2403681
#
# JRE version: Java(TM) SE Runtime Environment (20.0+21) (fastdebug build 20-ea+21-1539)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+21-1539, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
# Problematic frame:
# C 0x0000fffcc4f14e00
#
# 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/0c72054a-24ab-4dbb-944f-97f9341a1b96-S107584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b50f3271-dfbb-4586-8f1e-ddfbfdfbf7d7/runs/754ba970-a091-4840-ab6a-862728d54cbf/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/3/core.2403650)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S107584/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b50f3271-dfbb-4586-8f1e-ddfbfdfbf7d7/runs/754ba970-a091-4840-ab6a-862728d54cbf/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/3/hs_err_pid2403650.log
[2.669s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(39/6215)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000fffcdc42b160): JavaThread "MainThread" [_thread_in_Java, id=2403681, stack(0x0000fffa8a7c0000,0x0000fffa8a9c0000)]
Stack: [0x0000fffa8a7c0000,0x0000fffa8a9c0000], sp=0x0000fffa8a9bdd50, free space=2039k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0000fffcc4f14e00
j compiler.classUnloading.methodUnloading.TestOverloadCompileQueues.main([Ljava/lang/String;)V+0
j java.lang.invoke.LambdaForm$DMH+0x0000000801002000.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@20-ea
j java.lang.invoke.LambdaForm$MH+0x0000000801003400.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+33 java.base@20-ea
j java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+20 java.base@20-ea
j jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+55 java.base@20-ea
j jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@20-ea
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@20-ea
j com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V+134
j java.lang.Thread.run()V+13 java.base@20-ea
v ~StubRoutines::call_stub 0x0000fffccc3c016c
V [libjvm.so+0xea691c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x5ac (javaCalls.cpp:417)
V [libjvm.so+0xea6f40] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x3b0 (javaCalls.cpp:331)
V [libjvm.so+0xea73b8] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x64 (javaCalls.cpp:193)
V [libjvm.so+0x1023008] thread_entry(JavaThread*, JavaThread*)+0x118 (jvm.cpp:2876)
V [libjvm.so+0xedcb40] JavaThread::thread_main_inner()+0x21c (javaThread.cpp:699)
V [libjvm.so+0x17f2a98] Thread::call_run()+0xf8 (thread.cpp:224)
V [libjvm.so+0x14ffbd4] thread_native_entry(Thread*)+0x100 (os_linux.cpp:710)
C [libpthread.so.0+0x7908] start_thread+0x188
siginfo: si_signo: 4 (SIGILL), si_code: 1 (ILL_ILLOPC), si_addr: 0x0000fffcc4f14e00