Issue #267 - Update free_size when sweeping bump&pop

This commit is contained in:
Justin Ethier 2018-08-01 18:23:53 -04:00
parent 6274eb2652
commit bb52f8db40

1
gc.c
View file

@ -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->next;
}
h->free_size += h->block_size;
}
remaining -= h->block_size;
}