From 317039d9524e9967a505edcd361a4179221194da Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 16 Sep 2024 13:07:25 +0200 Subject: [PATCH] Relax assertion when expanding the heap It could be that newly mapped blocks were already acquired by other threads. --- src/nofl-space.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nofl-space.h b/src/nofl-space.h index f52ad9e28..bad9c315d 100644 --- a/src/nofl-space.h +++ b/src/nofl-space.h @@ -1667,7 +1667,7 @@ nofl_space_expand(struct nofl_space *space, size_t bytes) { nofl_push_unavailable_block(space, block); } } - nofl_space_reacquire_memory(space, 0); + nofl_space_maybe_reacquire_memory(space, 0); } static void