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:
Daan Leijen 2022-11-18 10:14:37 -08:00
parent 8834e128e8
commit 18cf94dff6
2 changed files with 7 additions and 6 deletions

View file

@ -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