Integrated: 8350605: assert(!heap->is_uncommit_in_progress()) failed: Cannot uncommit bitmaps while resetting them

William Kemper wkemper at openjdk.org
Tue Mar 4 17:14:58 UTC 2025


On Tue, 25 Feb 2025 01:38:14 GMT, William Kemper <wkemper at openjdk.org> wrote:

> The protocol which is meant to prevent regions from being uncommitted while their bitmaps are being reset may fail. This happens when the control thread attempts to wait for the uncommit thread to finish, but the uncommit thread has not yet indicated that it has started.
> 
> ## Testing
> GHA, Dacapo, Extremem, Heapothesys, Diluvian, SpecJBB2015, SpecJVM2008 (with and without stress flags, asserts). Also have run the JTREG test that failed this assertion over 10K times (and counting).

This pull request has now been integrated.

Changeset: fe806caa
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fe806caa160b2d550db273af17dc08270f143819
Stats:     79 lines in 2 files changed: 41 ins; 24 del; 14 mod

8350605: assert(!heap->is_uncommit_in_progress()) failed: Cannot uncommit bitmaps while resetting them

Reviewed-by: kdnilsen, ysr

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

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


More information about the shenandoah-dev mailing list