RFR: 8371789: C2: More explicit dump results for TypePtr
Aleksey Shipilev
shade at openjdk.org
Thu Nov 13 14:35:34 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.
Oh, this nuisance tripped me _hard_ when I was looking at [JDK-8371581](https://bugs.openjdk.org/browse/JDK-8371581). Wanted to do something like this as the follow-up :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28292#issuecomment-3528104650
More information about the hotspot-compiler-dev
mailing list