RFR: 8256379: Replace SIZE_FORMAT with 'z' length modifier
David Holmes
dholmes at openjdk.org
Fri Aug 4 06:05:41 UTC 2023
On Thu, 3 Aug 2023 23:39:11 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:
> Removing it to hardcode a format thus seems like a bit of a backward step to me.
But we only defined abstract things like `SIZE_FORMAT` because there was no single specifier accepted by all C runtimes and which behaves in the same (or similar enough) way. Once we have use of `%zu` or %zd` available everywhere then we no longer need the abstraction.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15115#issuecomment-1665059059
More information about the hotspot-dev
mailing list