RFR: 8364531: G1: Factor out liveness tracing code [v2]
Thomas Schatzl
tschatzl at openjdk.org
Fri Aug 1 12:31:10 UTC 2025
> Hi all,
>
> please review this refactoring, eliminating some copy&paste, in cset candidate group liveness logging.
>
> The output is mostly the same, except for the young cset group, where the "-" has been replaced to just print the default value (0.0) for efficiency. I did not see this important to have, the gc efficiency for young gen isn't interesting.
>
> Testing: local compilation, gha, visual inspection of output
>
> Thanks,
> Thomas
Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
* use one line per parameter in log message
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26591/files
- new: https://git.openjdk.org/jdk/pull/26591/files/66524c81..d1653627
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26591&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26591&range=00-01
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/26591.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26591/head:pull/26591
PR: https://git.openjdk.org/jdk/pull/26591
More information about the hotspot-gc-dev
mailing list