wingo pushed a commit to branch wip-whippet
in repository guile.

commit 317039d9524e9967a505edcd361a4179221194da
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Mon Sep 16 13:07:25 2024 +0200

    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

Reply via email to