RFR: 8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId [v3]
Guoxiong Li
gli at openjdk.org
Fri Jan 5 05:43:23 UTC 2024
On Tue, 2 Jan 2024 04:10:02 GMT, Guoxiong Li <gli at openjdk.org> wrote:
>> Hi all,
>>
>> This patch adds the GCId to the log of soft reference policy. I move the related code to the start of the old generational GC which needs to add a parameter `ZDriverRequest` in the method `ZDriverMajor::collect_old`. An alternative, which doesn't need to add a parameter, is only moving the related code to the start of the major GC, concretely the method `ZDriverMajor::gc`. But considering the references only be cleared in old generational GC, I make such decision. Waiting for your opinion on it.
>>
>> Thanks for taking the time to review.
>>
>> Best Regards,
>> -- Guoxiong
>
> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
>
> Rename field. Remove comment. Polish.
Waiting for another review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17196#issuecomment-1878156290
More information about the hotspot-gc-dev
mailing list