RFR: 8329549: Remove FORMAT64_MODIFIER [v2]
Stefan Karlsson
stefank at openjdk.org
Tue Jan 7 13:24:35 UTC 2025
On Tue, 7 Jan 2025 13:06:11 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> I thought X was hexadecimal. That's a lot better. Thanks.
>
> // Guide to the suffixes used in the format specifiers for integers:
> // - print the decimal value: 745565
> // _X - print as hexadecimal, without leading 0s: 0x12345
> // _X_0 - print as hexadecimal, with leading 0s: 0x00012345
>
> It wasn't obvious to me that the _X meant hexadecimal-with-0x-prefix versus simply hexadecimal. But I have no issue with always doing 0x :)
Hmm. You are right. I read too much into the comment (that I wrote some time ago :) )
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22918#discussion_r1905448446
More information about the hotspot-dev
mailing list