mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-21 14:29:31 +03:00
![]() If all "public" functions internally call a helper with the desired "initialization" mode (zero or unitialized) we can ensure that a block is only filled once. Otherwise, if a "public" function would call another "public" function, it could happen that a block is first filled with the "uninit memory" marker in debug mode, after which it's immediately overwritten with all zeroes. |
||
---|---|---|
.. | ||
mimalloc-atomic.h | ||
mimalloc-internal.h | ||
mimalloc-new-delete.h | ||
mimalloc-override.h | ||
mimalloc-types.h | ||
mimalloc.h |