Skip to main content

Module allocator

Module allocator 

Source
Expand description

Bump allocator with thread-local allocation buffers (TLABs).

Fast-path allocation: pointer bump in thread-local buffer (~1 cycle). When the TLAB is exhausted, refill from a Region. When the Region is full, allocate a new Region.

Structsยง

BumpAllocator
Bump allocator managing Regions and handing out TLABs.