Integrated: 8365792: GenShen: assertion "Generations aren't reconciled"

William Kemper wkemper at openjdk.org
Thu Sep 18 21:21:27 UTC 2025


On Thu, 18 Sep 2025 19:06:50 GMT, William Kemper <wkemper at openjdk.org> wrote:

> The coalesce-and-fill phase of an old gc cycle may be resumed at any time _without_ running a Shenandoah vm operation. The assertion itself is only meant to run during an operation which changes the active/gc generation. However, the assertion is made in places that may also run concurrently. The original assertion would be enforced if _any_ vm operation were running. For example, the assertions failures in the ticket show Shenandoah concurrently making old regions parsable (this assert should not be enforced) when a heap inspection operation takes a safepoint and (erroneously) causes this assertion to be enforced.

This pull request has now been integrated.

Changeset: 6e4e966d
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6e4e966d9b71ec04618e19784b5a661f34595ef6
Stats:     3 lines in 1 file changed: 1 ins; 0 del; 2 mod

8365792: GenShen: assertion "Generations aren't reconciled"

Reviewed-by: xpeng, ysr

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

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


More information about the hotspot-gc-dev mailing list