RFR: 8292981: Unify and restructure integer printing format specifiers [v4]
Stefan Karlsson
stefank at openjdk.org
Tue Aug 30 20:03:14 UTC 2022
On Tue, 30 Aug 2022 19:46:00 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Move INTPTR_FORMAT_H_W to Shenandoah
>
> 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.
-------------
PR: https://git.openjdk.org/jdk/pull/10042
More information about the hotspot-dev
mailing list