Module bump_allocator

Source

Structsยง

BumpAllocator
A simple bump allocator, sub-allocating from fixed size chunks that are provided by a parent allocator.
Chunk
A Contiguous buffer of memory holding multiple sub-allocaions.
ChunkPool
A simple pool for allocating and recycling memory chunks of a fixed size, protected by a mutex.
ChunkPoolInner ๐Ÿ”’
RecycledChunk ๐Ÿ”’
Header at the beginning of recycled memory chunk.
Stats

Constantsยง

CHUNK_ALIGNMENT ๐Ÿ”’
DEFAULT_CHUNK_SIZE ๐Ÿ”’

Functionsยง

align ๐Ÿ”’