[jdk11u-dev] Integrated: 8139046: Compiler Control: IGVPrintLevel directive should set PrintIdealGraph

Martin Doerr mdoerr at openjdk.java.net
Mon May 23 19:15:00 UTC 2022


On Fri, 20 May 2022 12:56:12 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Backport of [JDK-8139046](https://bugs.openjdk.java.net/browse/JDK-8139046)
> Enables dumping of C2 intermediate representation for a selected method: `-XX:PrintIdealGraphFile=igv.xml -XX:CompileCommand=option,TestKlass::testMethod,intx,IGVPrintLevel,3`
> Doesn't apply cleanly:
> 
> - compile.hpp: Had to take `should_print` from https://github.com/openjdk/jdk/commit/75e9d0a2901c149fc0acf3ed042ddedc689d8d23
> - compilerDefinitions.cpp, compile.cpp, idealGraphPrinter.cpp, idealGraphPrinter.hpp: Had to do resolve hunks manually.

This pull request has now been integrated.

Changeset: b2c51c4d
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/b2c51c4daa4ef7d57ffeda8f7a5126e5ce4ac70d
Stats:     54 lines in 7 files changed: 22 ins; 17 del; 15 mod

8139046: Compiler Control: IGVPrintLevel directive should set PrintIdealGraph

Make !PrintIdealGraph a synonym for PrintIdealGraphLevel=-1 => print nothing

Reviewed-by: xliu, rrich
Backport-of: 892d998587a0a7a7ed17586f96ae7dc5b236adb2

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/1102


More information about the jdk-updates-dev mailing list