RFR: 8290401: Support dump all phases and print nodes in ascending order of index

Joshua Cao duke at openjdk.org
Wed Sep 21 04:31:17 UTC 2022


* Sort nodes by index (`S` flag)
* increase max node distance to maximum number of nodes
* `DEBUG` phase for `-XX:CompileCommand=PrintIdealPhase` is currently unused. We propose to use `DEBUG` phase for printing all phases. Alternatively, we can add a new `ALL` phase. Seeking opinions from the community.

Thanks Xin Liu for working with me on this.

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

Commit messages:
 - Merge branch 'openjdk:master' into 8290401
 - 8290401: Support dump all phases and print nodes in ascending order of index

Changes: https://git.openjdk.org/jdk/pull/10371/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10371&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8290401
  Stats: 5 lines in 2 files changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10371.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10371/head:pull/10371

PR: https://git.openjdk.org/jdk/pull/10371


More information about the hotspot-compiler-dev mailing list