mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
move keys field in the page struct to keep offsets in the fast path the same for different build variants
This commit is contained in:
parent
8834e128e8
commit
18cf94dff6
2 changed files with 7 additions and 6 deletions
|
@ -19,12 +19,12 @@ const mi_page_t _mi_page_empty = {
|
|||
false, // is_zero
|
||||
0, // retire_expire
|
||||
NULL, // free
|
||||
#if MI_ENCODE_FREELIST
|
||||
{ 0, 0 },
|
||||
#endif
|
||||
0, // used
|
||||
0, // xblock_size
|
||||
NULL, // local_free
|
||||
#if MI_ENCODE_FREELIST
|
||||
{ 0, 0 },
|
||||
#endif
|
||||
MI_ATOMIC_VAR_INIT(0), // xthread_free
|
||||
MI_ATOMIC_VAR_INIT(0), // xheap
|
||||
NULL, NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue