[][src]Module context_allocator::allocators

Allocators.

Modules

bit_set

A bit set based allocator; allows reallocations, but requires a linear scan to find free blocks.

global

Global, switchable allocator.

Structs

BumpAllocator

This is a very simple bump allocator of minimal utility.

MemoryMapAllocator

This NUMA-aware allocator allocates memory-mapped data, optionally using NUMA policy to allocate on a memory node closest to the current thread.

MultipleBinarySearchTreeAllocator

An allocator which uses sorted lists (red-black binary search trees) of different block sizes (sizes are powers of 2); in that sense, it is similar to an efficient buddy allocator.

Enums

ContextAllocator

An allocator designed for contexts with different lifetimes.

Traits

Allocator

A helper trait that brings together the core, common functionality required to implement the traits GlobalAlloc and Alloc.