RFR: 8371789: C2: More explicit dump results for TypePtr

Christian Hagedorn chagedorn at openjdk.org
Thu Nov 13 12:48:02 UTC 2025


On Thu, 13 Nov 2025 11:50:46 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> 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.

That looks like a nice readability improvement! Can you show some before vs. after output to summarize your changes?

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

PR Comment: https://git.openjdk.org/jdk/pull/28292#issuecomment-3527649423


More information about the hotspot-compiler-dev mailing list