mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 15:10:29 +02:00
Fix semi-space collector for refactor
This commit is contained in:
parent
8a51117763
commit
1228e346fa
1 changed files with 1 additions and 1 deletions
2
semi.c
2
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue