Jtreg test java/util/concurrent/tck/JSR166TestCase.java fails with flags "-Xcomp -XX:+TieredCompilation -XX:CICompilerCount=2 -XX:+PrintCompilation -XX:+PrintInlining"
# Internal Error (/workspace/open/src/hotspot/share/opto/compile.cpp:4283), pid=3426733, tid=3426749
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (17.0+15) (fastdebug build 17-ea+15-LTS-1207)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+15-LTS-1207, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xa085f2] Compile::print_inlining_move_to(CallGenerator*)+0x72
#
Current CompileTask:
C2: 86022 19727 !b 4 Collection8Test::testRemoveIf (911 bytes)
Stack: [0x00007f4a21f2f000,0x00007f4a22030000], sp=0x00007f4a2202b300, free space=1008k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xa085f2] Compile::print_inlining_move_to(CallGenerator*)+0x72
V [libjvm.so+0x8454c6] CallGenerator::do_late_inline_helper()+0x986
V [libjvm.so+0xa0e85d] Compile::inline_incrementally_one()+0x33d
V [libjvm.so+0xa0f147] Compile::process_late_inline_calls_no_inline(PhaseIterGVN&)+0x117
V [libjvm.so+0xa10b17] Compile::Optimize()+0x18e7
V [libjvm.so+0xa12545] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1905
JDK 16 also failed.