RFR: 8349835: C2: simplify IGV property printing

Saranya Natarajan snatarajan at openjdk.org
Fri Sep 19 20:58:21 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

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

Commit messages:
 - changing int to bool in a struct
 - fix to failing test
 - initial fix

Changes: https://git.openjdk.org/jdk/pull/26902/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26902&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349835
  Stats: 117 lines in 2 files changed: 20 ins; 54 del; 43 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