mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
rewrite of low-level OS (aligned) allocation to better handle large pages and aligned allocation
This commit is contained in:
parent
7b4f3591f0
commit
c3a5f84ad3
2 changed files with 225 additions and 232 deletions
|
@ -103,7 +103,11 @@ mi_heap_t _mi_heap_main = {
|
|||
NULL,
|
||||
0,
|
||||
0,
|
||||
0xCDCDCDCDCDCDCDL,
|
||||
#if MI_INTPTR_SIZE==8 // the cookie of the main heap can be fixed (unlike page cookies that need to be secure!)
|
||||
0xCDCDCDCDCDCDCDCDUL,
|
||||
#else
|
||||
0xCDCDCDCDUL,
|
||||
#endif
|
||||
0,
|
||||
false // can reclaim
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue