RFR: 8347730: Replace SIZE_FORMAT in g1
Kim Barrett
kbarrett at openjdk.org
Thu Jan 16 14:25:45 UTC 2025
On Tue, 14 Jan 2025 18:40:32 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Please review this change to replace SIZE_FORMAT with %zu in the g1 directory. Most edits were by script but SIZE_FORMAT_W(n) was done sort of by hand. Also fixed one place where preexisting formatting was bad.
>
> Tested all the GC changes together (other PRs coming) with tier1-4 on x86 and aarch64.
Changes requested by kbarrett (Reviewer).
src/hotspot/share/gc/g1/g1MonitoringSupport.cpp line 293:
> 291: // _old_gen_committed is calculated in terms of _old_gen_used value.
> 292: assert(_old_gen_used <= _old_gen_committed, "Old gen used bytes(%zu"
> 293: ") should be less than or equal to old gen committed(%zu)",
Move the first close paren to the previous line in these two changes.
-------------
PR Review: https://git.openjdk.org/jdk/pull/23114#pullrequestreview-2556296168
PR Review Comment: https://git.openjdk.org/jdk/pull/23114#discussion_r1918638293
More information about the hotspot-gc-dev
mailing list