mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-24 16:24:47 +03:00
merge from dev
This commit is contained in:
commit
a447a1a297
8 changed files with 33 additions and 19 deletions
10
src/init.c
10
src/init.c
|
@ -75,9 +75,9 @@ const mi_page_t _mi_page_empty = {
|
|||
{ 0 }, { 0 }, { 0 }, { 0 }, \
|
||||
{ 0 }, { 0 }, { 0 }, { 0 }, \
|
||||
\
|
||||
{ 0 }, { 0 }, { 0 }, { 0 }, \
|
||||
MI_STAT_COUNT_NULL(), MI_STAT_COUNT_NULL(), MI_STAT_COUNT_NULL(), MI_STAT_COUNT_NULL(), \
|
||||
{ 0 }, { 0 }, { 0 }, { 0 }, \
|
||||
{ 0 }, { 0 }, { 0 }, { 0 }, { 0 }, \
|
||||
MI_INIT4(MI_STAT_COUNT_NULL), \
|
||||
{ 0 }, { 0 }, { 0 }, { 0 }, \
|
||||
\
|
||||
{ MI_INIT4(MI_STAT_COUNT_NULL) }, \
|
||||
{ { 0 }, { 0 }, { 0 }, { 0 } }, \
|
||||
|
@ -122,7 +122,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
|
||||
0, 0, // generic count
|
||||
NULL, // next
|
||||
0, // full page retain
|
||||
false, // can reclaim
|
||||
|
@ -159,7 +159,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
|
||||
0, 0, // generic count
|
||||
NULL, // next heap
|
||||
2, // full page retain
|
||||
true, // allow page reclaim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue