JDK-8255245 : C1: Fix output of -XX:+PrintCFGToFile to open it with visualizer
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-22
  • Updated: 2024-12-09
  • Resolved: 2020-10-28
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 16
16 b22Fixed
Related Reports
Relates :  
Description
JDK-8251093 introduced some improved logging which cannot be read by the C1 Visualizer. As the C1 Visualizer is not part of the JDK, we should include the old format again for the output produced by -XX:+PrintCFGToFile to be compatible with the visualizer again. The console output can still use the improved logging of JDK-8251093.
Comments
Changeset: b7d483c7 Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2020-10-28 08:47:14 +0000 URL: https://git.openjdk.java.net/jdk/commit/b7d483c7
28-10-2020

ILW = Output produced by -XX:+PrintCFGToFile cannot be read by C1 visualizer, develop flag only available in debug builds and does not affect C1 compiler or compiled code, no workaround = MMH = P3
22-10-2020