JDK-8289954 : C2: Assert failed in PhaseCFG::verify() after JDK-8183390
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-07-07
  • Updated: 2022-07-27
  • Resolved: 2022-07-18
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 19 JDK 20
19 b32Fixed 20Fixed
Related Reports
Relates :  
Relates :  
Description
#  Internal Error (\workspace\open\src\hotspot\share\opto\block.cpp:1251), pid=34716, tid=13156
#  assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions

Comments
[~pli] : Seems that the same assertion failure is still happening when running compiler/loopopts/TestUnreachableInnerLoop.java with fastdebug build on linux-riscv64 platform. I have attached the hs_err and reply files (hs_err_pid2130903.log & replay_pid2130903.log). Please take a look. Thanks.
26-07-2022

Changeset: 2677dd6d Author: Pengfei Li <pli@openjdk.org> Date: 2022-07-18 12:18:06 +0000 URL: https://git.openjdk.org/jdk19/commit/2677dd6d2318afb4afffde46f8e8e20276cb2894
18-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk19/pull/130 Date: 2022-07-11 08:41:21 +0000
11-07-2022

Hi [~dlong], Thanks for reporting this. I have reproduced this issue. Cause is that I deleted a loop type check in SuperWord::unrolling_analysis() by mistake in while re-enabling the post loop vectorization. I will fix it ASAP. BTW: I modified the JBS title because previous title is too long.
09-07-2022

I bisected the start of the problem to JDK-8183390. [~pli], please take a look.
08-07-2022

ILW = same as JDK-8288112, JDK-8288112 = P3
07-07-2022