mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Issue #267 - Update free_size when sweeping bump&pop
This commit is contained in:
parent
6274eb2652
commit
bb52f8db40
1 changed files with 1 additions and 0 deletions
1
gc.c
1
gc.c
|
@ -499,6 +499,7 @@ size_t gc_convert_heap_page_to_free_list(gc_heap *h, gc_thread_data *thd)
|
||||||
next->next = p;
|
next->next = p;
|
||||||
next = next->next;
|
next = next->next;
|
||||||
}
|
}
|
||||||
|
h->free_size += h->block_size;
|
||||||
}
|
}
|
||||||
remaining -= h->block_size;
|
remaining -= h->block_size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue