Integrated: 8318201: GenShen: Remove preparatory young GC before bootstrap

Kelvin Nilsen kdnilsen at openjdk.org
Mon Oct 16 23:46:29 UTC 2023


On Fri, 13 Oct 2023 15:14:15 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> We currently precede every old-mark bootstrap gc with a young gc.  The intent was to replenish the young allocation pool before beginning the "long" coalesce-and-fill effort which is part of the bootstrap gc.  This current design is mis-guided because the coalesce-and-fill effort will be preempted if a young gc is triggered while we are working on coalesce-and-fill.
> 
> This PR has the potential of reducing the number of concurrent young gcs by the number of times we initiate an old bootstrap gcs.

This pull request has now been integrated.

Changeset: e2821e44
Author:    Kelvin Nilsen <kdnilsen at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/e2821e44d3543774f4fbac3591ef7fae44eca362
Stats:     23 lines in 1 file changed: 0 ins; 19 del; 4 mod

8318201: GenShen: Remove preparatory young GC before bootstrap

Reviewed-by: wkemper

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

PR: https://git.openjdk.org/shenandoah/pull/340


More information about the shenandoah-dev mailing list