Integrated: 8351464: Shenandoah: Hang on ShenandoahController::handle_alloc_failure when run test TestAllocHumongousFragment#generational

William Kemper wkemper at openjdk.org
Wed Mar 19 00:33:14 UTC 2025


On Tue, 11 Mar 2025 19:31:47 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Failed allocations may race to cancel the GC with the collector who is working to clear the cancelled GC. When the GC wins this race, it will fail to notify threads that are waiting for the failed GC cycle to complete. This change sees allocation waiters notified any time a GC completes without being cancelled.
> 
> # Testing
> Ran TestAllocHumongousFragment#generational 6,500 times without failures.

This pull request has now been integrated.

Changeset: 20d4fe3a
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/20d4fe3a574a33784dc02e7cc653cdb248b697a2
Stats:     5 lines in 3 files changed: 0 ins; 1 del; 4 mod

8351464: Shenandoah: Hang on ShenandoahController::handle_alloc_failure when run test TestAllocHumongousFragment#generational

Reviewed-by: xpeng, ysr

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

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


More information about the hotspot-gc-dev mailing list