JDK-8264320 : ShouldNotReachHere in Compile::print_inlining_move_to()
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16,17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2021-03-26
  • Updated: 2021-04-29
  • Resolved: 2021-04-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b20Fixed
Related Reports
Relates :  
Description
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.
Comments
Changeset: bfc1cd8e Author: Vladimir Ivanov <vlivanov@openjdk.org> Date: 2021-04-23 12:53:54 +0000 URL: https://git.openjdk.java.net/jdk/commit/bfc1cd8e
23-04-2021

ILW = Assert during C2 compilation, with PrintCompilation/Inlining, disable printing or compilation of affected method = HLM = P3
29-03-2021

Current suspect is JDK-8257211 which modified related code and was pushed into JDK-16-b28 because b27 passed test and b28 failed.
26-03-2021