JDK-8294356 : IGV: scheduled graphs contain duplicated elements
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-26
  • Updated: 2022-10-17
  • Resolved: 2022-10-11
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 20
20 b19Fixed
Related Reports
Relates :  
Description
Ideal graphs dumped after GCM contain duplicated nodes and edges. This leads to duplication in edge tooltips (sea of nodes views, see sea.png) and node input lists (control-flow graph view, see cfg.png), and adds unnecessary overhead to the graph files.

To reproduce the issue:

1. Run IGV
2. Run $ java -Xbatch -XX:PrintIdealGraphLevel=1
3. Open any 'Final Code' graph
4. Look at edge tooltips in the sea of nodes view or node input lists in the control-flow graph view.
Comments
Changeset: 97f1321c Author: Roberto CastaƱeda Lozano <rcastanedalo@openjdk.org> Date: 2022-10-11 07:13:00 +0000 URL: https://git.openjdk.org/jdk/commit/97f1321cb455b536f1e4e056dec693c24f39d641
11-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10423 Date: 2022-09-26 13:55:56 +0000
26-09-2022

The bug was introduced by JDK-7024475 but has only become visible now with the recent additions of edge tooltips (JDK-8265433) and a control-flow view (JDK-8282547).
26-09-2022

ILW = Duplicated edges in tooltips, only in sea of nodes view, no workaround = LLH = P5
26-09-2022