RFR: 8347721: Replace SIZE_FORMAT in compiler directories

Coleen Phillimore coleenp at openjdk.org
Tue Jan 14 18:07:36 UTC 2025


On Tue, 14 Jan 2025 16:25:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Please review this change to replace SIZE_FORMAT with %zu in the code and opto directories. There weren't very many. Most were done with a script with almost no hand-editing.
> 
> Tested just now with tier1-4 on x86 and aarch64.

No JDK-8347627 replaced a INTX_FORMAT_X macro in the ciMethodData file with %#zx but the behavior of the # was not what we expected when the value is zero.  Instead of 0x0 it was just 0.  The failure was in tier2.  I have the fix for JDK-8347627 in this already.

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

PR Comment: https://git.openjdk.org/jdk/pull/23108#issuecomment-2590747693


More information about the hotspot-compiler-dev mailing list