Integrated: 8294844: Improve G1 young gen length revise trigger

Thomas Schatzl tschatzl at openjdk.org
Fri Oct 14 13:40:22 UTC 2022


On Tue, 11 Oct 2022 13:56:17 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that makes actual young gen length revising unconditional.
> 
> This solves the following issues:
> * currently young gen revising would only shrink the young gen, which would waste time available in the pause.
> * young gen sizing is not only dependent on remembered sets (it has been gated on changes to the remembered set only) but also significantly on the pending cards length. This means that in some cases necessary revising would not occur, being a cause for greatly missing pause times.
> 
> Depends on PR#10651, please review that one first.
> 
> Testing: Testing: gha, local testing, tier1-5 with other changes in this patch series, perf testing with other changes in this patch series
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 1efa93e6
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1efa93e602455d7a032eb97cffa56da7337dd8f9
Stats:     38 lines in 3 files changed: 5 ins; 25 del; 8 mod

8294844: Improve G1 young gen length revise trigger

Reviewed-by: iwalulya, kbarrett

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

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



More information about the hotspot-gc-dev mailing list