RFR: 8326763: Consolidate print methods in ContiguousSpace [v3]

Guoxiong Li gli at openjdk.org
Wed Feb 28 15:03:53 UTC 2024


On Wed, 28 Feb 2024 14:53:24 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Trivial inlining and removing some unused methods.
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

src/hotspot/share/gc/shared/space.cpp line 105:

> 103: 
> 104: void ContiguousSpace::print_on(outputStream* st) const {
> 105:   st->print_cr(" space %zuK, %3d%% used [" PTR_FORMAT ", " PTR_FORMAT ", " PTR_FORMAT ")",

Why not use the previous `SIZE_FORMAT`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18022#discussion_r1506107028


More information about the hotspot-gc-dev mailing list