mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-12 06:08:42 +03:00
align size of page_t, increase slices per segment
This commit is contained in:
parent
0028272cf4
commit
caa5e51a67
4 changed files with 24 additions and 16 deletions
|
@ -28,6 +28,9 @@ const mi_page_t _mi_page_empty = {
|
|||
ATOMIC_VAR_INIT(0), // xthread_free
|
||||
ATOMIC_VAR_INIT(0), // xheap
|
||||
NULL, NULL
|
||||
#if MI_INTPTR_SIZE==8
|
||||
, { 0 } // padding
|
||||
#endif
|
||||
};
|
||||
|
||||
#define MI_PAGE_EMPTY() ((mi_page_t*)&_mi_page_empty)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue