Integrated: 8357568: IGV: Show NULL and numbers up to 4 characters in "Condense graph" filter
Christian Hagedorn
chagedorn at openjdk.org
Mon May 26 07:28:37 UTC 2025
On Thu, 22 May 2025 13:46:39 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
> When using the "Condense graph" filter in IGV, it would be useful to show `NULL` and numbers wider than 2 characters instead of `P` and `I/L` (fallback for larger numbers), respectively. There is a comment in `idealGrapPrinter.cpp` which says that maximally 2 chars are allowed for numbers:
> https://github.com/openjdk/jdk/blob/428d33ef3ca0af34d8f164fe9d9b722e81e866a7/src/hotspot/share/opto/idealGraphPrinter.cpp#L646
>
> But we already allow larger entries today:
> 
>
> I there propose to use `NULL` and allow up to 4 characters for numbers which could be a good trade-off between shortness and expressiveness. This allows us to quickly see null checks and larger constants.
>
> Without patch:
> 
>
>
> With patch:
> 
>
> Thanks,
> Christian
This pull request has now been integrated.
Changeset: 99f33b4d
Author: Christian Hagedorn <chagedorn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/99f33b4d9b91c71ec032dc47ed0b98e4419ac432
Stats: 19 lines in 1 file changed: 6 ins; 4 del; 9 mod
8357568: IGV: Show NULL and numbers up to 4 characters in "Condense graph" filter
Reviewed-by: thartmann, mchevalier, mhaessig
-------------
PR: https://git.openjdk.org/jdk/pull/25393
More information about the hotspot-compiler-dev
mailing list