RFR: 8364531: G1: Factor out liveness tracing code [v3]

Thomas Schatzl tschatzl at openjdk.org
Fri Aug 1 13:33:34 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:

  * more refactoring

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26591/files
  - new: https://git.openjdk.org/jdk/pull/26591/files/d1653627..6f605b70

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26591&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26591&range=01-02

  Stats: 18 lines in 2 files changed: 9 ins; 6 del; 3 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