RFR: 8347733: Replace SIZE_FORMAT in runtime code [v2]
Coleen Phillimore
coleenp at openjdk.org
Fri Jan 17 12:18:52 UTC 2025
On Fri, 17 Jan 2025 04:00:18 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Added the needed blank.
>
> src/hotspot/share/oops/array.hpp line 77:
>
>> 75:
>> 76: size_t elements = left / sizeof(T);
>> 77: assert(elements <= (size_t)INT_MAX, "number of elements %zudoesn't fit into an int.", elements);
>
> Nit: It seems that a space is needed after `%zu`. This was this way originally.
I added the space, since you read through carefully enough to see it. Thanks!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23160#discussion_r1920107348
More information about the hotspot-dev
mailing list