RFR: 8371419: IGV: Add view to visualise dominator tree and dominator information

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Wed Nov 26 11:54:50 UTC 2025


On Wed, 26 Nov 2025 11:44:41 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:

> The idea I had in mind was to dump all the information we compute in C2 about dominators/blocks and the information in nodes and blocks come from different sources (and didn't think 2 small fields per node would make a lot of difference 😉).
When the dominator information comes from C2 the block information in the node properties comes from [_node_to_block_mapping ](https://github.com/openjdk/jdk/blob/2347e9a4e14eb14700415c58130885a7d06522d5/src/hotspot/share/opto/block.hpp#L403)whereas the block one directly [from the blocks](https://github.com/openjdk/jdk/blob/2347e9a4e14eb14700415c58130885a7d06522d5/src/hotspot/share/opto/block.hpp#L118) (and might not be yet in sync while computing GCM as I found out:

Fair enough, then I agree it makes sense to dump node-level domination information as well, thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/28293#issuecomment-3580958734


More information about the hotspot-compiler-dev mailing list