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

William Kemper wkemper at openjdk.org
Mon Oct 16 23:46:27 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.

LGTM!

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

Marked as reviewed by wkemper (Committer).

PR Review: https://git.openjdk.org/shenandoah/pull/340#pullrequestreview-1680707627


More information about the shenandoah-dev mailing list