RFR: 8346990: Remove INTX_FORMAT and UINTX_FORMAT macros [v5]
Coleen Phillimore
coleenp at openjdk.org
Thu Jan 9 20:39:41 UTC 2025
On Tue, 7 Jan 2025 12:51:33 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> There are a lot of format modifiers that are noisy and unnecessary in the code. This change removes the INTX variants. It's not that disruptive even for backporting because %z modifier has been available for a long time so should backport fine. This was mostly done with a sed script plus some hand fixups.
>>
>> Testing mach5 and other platform cross compilations in progress. Opening this for GHA testing.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Restore copyright and macro.
The intention is to keep INTPTR_FORMAT and some of the other format specifiers that vary by platform. I have another issue to remove the SIZE_FORMAT ones but that's a bigger change. So this mixture is intentional.
JLONG_FORMAT might be something we can remove too but I didn't want to do it all at once.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22916#issuecomment-2581199763
More information about the shenandoah-dev
mailing list