RFR: 8346990: Remove INTX_FORMAT and UINTX_FORMAT macros [v2]

Coleen Phillimore coleenp at openjdk.org
Tue Jan 7 12:36:46 UTC 2025


On Tue, 7 Jan 2025 08:50:04 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> I'd forgotten about that format option too, which is why I'm not enamored of it.  Also, written that way the
>> prefix gets included in the width when dealing with field width, which might not be great either.
>
> The problem of accounting for the prefix in the field width calculation can be dealt with by using precision
> rather than field width.

Well then that leaves the fun of dealing with these format specifiers when you're trying to do your own formatting.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22916#discussion_r1905390045


More information about the serviceability-dev mailing list