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

commit 1228e346fa1ce645304a120c50cae2c85dbbc316
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Fri Sep 16 14:50:01 2022 +0200

    Fix semi-space collector for refactor
---
 semi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/semi.c b/semi.c
index d67ed68ac..e29e63c26 100644
--- a/semi.c
+++ b/semi.c
@@ -161,7 +161,7 @@ static void collect(struct gc_mutator *mut) {
   flip(semi);
   uintptr_t grey = semi->hp;
   if (mut->roots)
-    gc_trace_mutator_roots(mut->roots, visit, heap);
+    gc_trace_precise_mutator_roots(mut->roots, visit, heap);
   // fprintf(stderr, "pushed %zd bytes in roots\n", space->hp - grey);
   while(grey < semi->hp)
     grey = scan(heap, gc_ref(grey));

Reply via email to