Integrated: 8255245: C1: Fix output of -XX:+PrintCFGToFile to open it with visualizer

Christian Hagedorn chagedorn at openjdk.java.net
Wed Oct 28 08:54:18 UTC 2020


On Fri, 23 Oct 2020 13:16:27 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> [JDK-8251093](https://bugs.openjdk.java.net/browse/JDK-8251093) introduced some improved logging for intervals. When specifying `-XX:+PrintCFGToFile` to dump the graph to a file to later open it with the C1 visualizer, it also uses the improved interval printing. However, this output can no longer 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.

This pull request has now been integrated.

Changeset: b7d483c7
Author:    Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b7d483c7
Stats:     38 lines in 3 files changed: 24 ins; 2 del; 12 mod

8255245: C1: Fix output of -XX:+PrintCFGToFile to open it with visualizer

Reviewed-by: kvn, xliu

-------------

PR: https://git.openjdk.java.net/jdk/pull/837


More information about the hotspot-compiler-dev mailing list