Flexible, safe, and measurable memory allocation.
Main docs: Home | Guides | Design & roadmap | Code size analysis
Submodules | |
Blocks | |
An allocatable region of memory. | |
Buckets | |
Data structures that track free blocks. | |
Concrete allocators | |
Concrete allocator implementations that provide memory dynamically. | |
Configuration | |
Options for controlling block poisoning intervals, validation checks, and deprecation warnings. | |
Core interfaces | |
Generic allocator interfaces that can be injected into routines that need dynamic memory. | |
Forwarding allocators | |
Allocator implementations that don’t allocate memory directly and instead rely on other allocators while providing additional behaviors. | |
Implementation interfaces | |
Interfaces for allocator implementers. | |
Utilities | |
Helpers for metrics, fragmentation, and buffer management. | |