RFR: 8349835: C2: simplify IGV property printing [v2]

Saranya Natarajan snatarajan at openjdk.org
Wed Oct 1 12:28:38 UTC 2025


> The code that prints node properties and live range properties is very verbose and repetitive and could be simplified by applying a refactoring suggested [here](https://github.com/openjdk/jdk/pull/23558#discussion_r1950785708).
> 
> ### Fix 
> Implemented the suggested refactoring. 
> 
> ### Testing 
> Github Actions, Tier 1-3

Saranya Natarajan has updated the pull request incrementally with two additional commits since the last revision:

 - fixing test failure
 - addressing review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26902/files
  - new: https://git.openjdk.org/jdk/pull/26902/files/79fc6a6a..30ef8eed

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26902&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26902&range=00-01

  Stats: 170 lines in 2 files changed: 88 ins; 75 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/26902.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26902/head:pull/26902

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


More information about the hotspot-compiler-dev mailing list