mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
allow retirement for all object sizes (issue #212)
This commit is contained in:
parent
7c2e7eb9ef
commit
7745dde8d2
3 changed files with 26 additions and 5 deletions
|
@ -97,6 +97,7 @@ const mi_heap_t _mi_heap_empty = {
|
|||
{ 0, 0 }, // keys
|
||||
{ {0}, {0}, 0 },
|
||||
0, // page count
|
||||
MI_BIN_FULL, 0, // page retired min/max
|
||||
NULL, // next
|
||||
false
|
||||
};
|
||||
|
@ -131,6 +132,7 @@ mi_heap_t _mi_heap_main = {
|
|||
{ 0, 0 }, // the key of the main heap can be fixed (unlike page keys that need to be secure!)
|
||||
{ {0x846ca68b}, {0}, 0 }, // random
|
||||
0, // page count
|
||||
MI_BIN_FULL, 0, // page retired min/max
|
||||
NULL, // next heap
|
||||
false // can reclaim
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue