RFR: 8371789: C2: More explicit dump results for TypePtr
Quan Anh Mai
qamai at openjdk.org
Thu Nov 13 12:05:20 UTC 2025
Hi,
This patch tries to clear up the dumped information of `TypePtr` and its subclasses. It makes it immediately clear the states of the `Type` object without us having to look into the implementation of `dump2`, for example, to know that the absence of `:NotNull` implies that it is a `BotPTR`.
Please take a look and kindly review, thanks a lot.
-------------
Commit messages:
- whitespace
- fix IR framework
- clean up printing of TypePtr and subclasses
Changes: https://git.openjdk.org/jdk/pull/28292/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28292&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8371789
Stats: 232 lines in 3 files changed: 64 ins; 121 del; 47 mod
Patch: https://git.openjdk.org/jdk/pull/28292.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28292/head:pull/28292
PR: https://git.openjdk.org/jdk/pull/28292
More information about the hotspot-compiler-dev
mailing list