Integrated: 8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId

Guoxiong Li gli at openjdk.org
Wed Jan 10 12:18:38 UTC 2024


On Thu, 28 Dec 2023 05:56:56 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

This pull request has now been integrated.

Changeset: 88dafe56
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/88dafe564f163ed738a8cb6adc449b94e606999f
Stats:     9 lines in 2 files changed: 8 ins; 1 del; 0 mod

8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId

Reviewed-by: eosterlund, tschatzl

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

PR: https://git.openjdk.org/jdk/pull/17196


More information about the hotspot-gc-dev mailing list