RFR: 8292981: Unify and restructure integer printing format specifiers [v4]
Kim Barrett
kbarrett at openjdk.org
Wed Aug 31 17:38:08 UTC 2022
On Tue, 30 Aug 2022 20:00:56 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
>> src/hotspot/share/utilities/globalDefinitions.hpp line 97:
>>
>>> 95: // _X - print as hexadecimal, without leading 0s: 0x12345
>>> 96: // _X_0 - print as hexadecimal, with leading 0s: 0x00012345
>>> 97: // _H - print as hexadecimal, without 0x prefix
>>
>> I think we don't have any of these "H" suffixed names.
>
> The patch has one usage of SIZE_FORMAT_H_W. We could of course just inline that usage, if you think that makes more sense.
I don't see a use, or even a definition, of that name. There was the INTPTR_FORMAT_H_W that was moved to Shenandoah code.
-------------
PR: https://git.openjdk.org/jdk/pull/10042
More information about the hotspot-dev
mailing list