Integrated: 8340137: GenShen: Reset mark bitmaps when a region is recycled

William Kemper wkemper at openjdk.org
Mon Sep 16 16:35:36 UTC 2024


On Fri, 13 Sep 2024 17:53:00 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Historically, the concurrent reset phase has reset bitmaps for _all_ committed regions. In the generational mode, however, we wish to reset bitmaps for only the generation being collected. This action was recently made to [exclude](https://bugs.openjdk.org/browse/JDK-8332082) [free](https://github.com/openjdk/shenandoah/pull/496/files#diff-21f0a6cd0f9698d813b88d4265dd2b8686a836966789d23de509cd1b9e936ae1R52) regions. This broke an assert for regions that became committed (active) after concurrent reset. To address this, we can reset bitmaps for a region when it is recycled (resets still happen for active regions during concurrent reset).
> 
> ## Testing
> GHA, internal pipelines

This pull request has now been integrated.

Changeset: a8e2908e
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/a8e2908eed1ab8c271eb206e0a41ee3d38b18de3
Stats:     4 lines in 1 file changed: 4 ins; 0 del; 0 mod

8340137: GenShen: Reset mark bitmaps when a region is recycled

Reviewed-by: kdnilsen, ysr

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

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


More information about the shenandoah-dev mailing list