re-add deferred free and heap retired collect

This commit is contained in:
daanx 2024-12-21 15:53:50 -08:00
parent c138fba149
commit da17a59bdb
3 changed files with 11 additions and 5 deletions

View file

@ -119,6 +119,7 @@ mi_decl_cache_align const mi_heap_t _mi_heap_empty = {
{ {0}, {0}, 0, true }, // random
0, // page count
MI_BIN_FULL, 0, // page retired min/max
0, // generic count
NULL, // next
0, // full page retain
false, // can reclaim
@ -155,6 +156,7 @@ mi_decl_cache_align mi_heap_t heap_main = {
{ {0x846ca68b}, {0}, 0, true }, // random
0, // page count
MI_BIN_FULL, 0, // page retired min/max
0, // generic count
NULL, // next heap
2, // full page retain
true, // allow page reclaim