The following closed tests failed in the JDK18 CI:
applications/microbenchmarks/indy/Test_3.java#id20
applications/microbenchmarks/other/Test_12.java#id0
I've started this bug off as confidential because the tests are
closed. However, after triage by the Compiler team, this bug
can be change into non-confidential if appropriate.
Here's the crashing thread's stack from Test_3.java#id20:
--------------- T H R E A D ---------------
Current thread (0x00007fd0b80b2870): JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=25560, stack(0x00007fd0cfafb000,0x00007fd0cfbfc000)]
Current CompileTask:
C2: 1671 721 ! java.lang.invoke.LambdaForm$MH/0x0000000801028000::guardWithCatch (83 bytes)
Stack: [0x00007fd0cfafb000,0x00007fd0cfbfc000], sp=0x00007fd0cfbf6e70, free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x8b26bb] LateInlineMHCallGenerator::do_late_inline_check(Compile*, JVMState*)+0x5b
V [libjvm.so+0x8aee8f] CallGenerator::do_late_inline_helper()+0xadf
V [libjvm.so+0xa8979d] Compile::inline_incrementally_one()+0x33d
V [libjvm.so+0xa89aff] Compile::inline_incrementally(PhaseIterGVN&)+0x18f
V [libjvm.so+0xa8a759] Compile::Optimize()+0x5e9
V [libjvm.so+0xa8d3fe] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x159e
V [libjvm.so+0x8a5d24] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x664
V [libjvm.so+0xa9d6f8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc88
V [libjvm.so+0xa9e4b8] CompileBroker::compiler_thread_loop()+0x648
V [libjvm.so+0x1925aba] JavaThread::thread_main_inner()+0x25a
V [libjvm.so+0x192de80] Thread::call_run()+0x100
V [libjvm.so+0x1610214] thread_native_entry(Thread*)+0x104
Here's the crashing stack trace from Test_12.java#id0:
--------------- T H R E A D ---------------
Current thread (0x00007f2da4107ed0): JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=13403, stack(0x00007f2ddc1a6000,0x00007f2ddc2a7000)]
Current CompileTask:
C2: 3828 827 ! java.lang.invoke.LambdaForm$MH/0x0000000801027800::tryFinally (77 bytes)
Stack: [0x00007f2ddc1a6000,0x00007f2ddc2a7000], sp=0x00007f2ddc2a1e70, free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x8b26bb] LateInlineMHCallGenerator::do_late_inline_check(Compile*, JVMState*)+0x5b
V [libjvm.so+0x8aee8f] CallGenerator::do_late_inline_helper()+0xadf
V [libjvm.so+0xa8979d] Compile::inline_incrementally_one()+0x33d
V [libjvm.so+0xa89aff] Compile::inline_incrementally(PhaseIterGVN&)+0x18f
V [libjvm.so+0xa8a759] Compile::Optimize()+0x5e9
V [libjvm.so+0xa8d3fe] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x159e
V [libjvm.so+0x8a5d24] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x664
V [libjvm.so+0xa9d6f8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc88
V [libjvm.so+0xa9e4b8] CompileBroker::compiler_thread_loop()+0x648
V [libjvm.so+0x1925aba] JavaThread::thread_main_inner()+0x25a
V [libjvm.so+0x192de80] Thread::call_run()+0x100
V [libjvm.so+0x1610214] thread_native_entry(Thread*)+0x104