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

Albert Mingkun Yang ayang at openjdk.org
Mon Aug 4 09:50:53 UTC 2025


On Mon, 4 Aug 2025 09:45:50 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> 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:
> 
>   * fix typo

Marked as reviewed by ayang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/26591#pullrequestreview-3083454229


More information about the hotspot-gc-dev mailing list