Expand description
High-performance mimalloc V3 global allocator.
use rustfs_mimalloc::MiMalloc;
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;Modules§
- heap
- Heap and arena operations for advanced memory management.
Structs§
- MiMalloc
- The mimalloc global allocator.
- Process
Info - Process memory information returned by
MiMalloc::process_info.
Constants§
- MI_
SMALL_ SIZE_ MAX - Maximum byte size for mimalloc’s small allocation fast path.
- MI_
SMALL_ WSIZE_ MAX - Maximum word count for mimalloc’s small allocation fast path.
Functions§
- set_
current_ thread_ in_ threadpool - Mark the current thread as part of a thread pool for mimalloc.