JDK-8211759 : C2: Graph after optimizations should not have dead nodes
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 12
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2018-10-05
  • Updated: 2025-03-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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Final graph reshape uses subsume_by() + disconnect_inputs(). That could leave dead nodes in which need to be removed. See:

http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2018-September/030622.html
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24175 Date: 2025-03-23 08:23:43 +0000
23-03-2025

[~kvn] suggested moving the check_no_dead_use() call after the final_graph_reshaping() call to catch those issues
23-09-2022

ILW = similar to 8210389 = HLM = P3
08-10-2018