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

commit 47ddd3dd5a8064914a148d4297d55f02f895eb9e
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Thu May 22 14:56:43 2025 +0200

    nofl: No evacuation reserve if evacuation is impossible
---
 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 49068e941..1b28a799b 100644
--- a/src/nofl-space.h
+++ b/src/nofl-space.h
@@ -1928,7 +1928,7 @@ nofl_space_init(struct nofl_space *space, size_t size, 
int atomic,
   space->extents = extents_allocate(10);
   nofl_space_add_slabs(space, slabs, nslabs);
   pthread_mutex_init(&space->lock, NULL);
-  space->evacuation_minimum_reserve = 0.02;
+  space->evacuation_minimum_reserve = GC_CONSERVATIVE_TRACE ? 0.0 : 0.02;
   space->evacuation_reserve = space->evacuation_minimum_reserve;
   space->promotion_threshold = promotion_threshold;
   struct gc_lock lock = nofl_space_lock(space);

Reply via email to