Class AdaptiveRadixTree::Slab

Nested Relationships

This class is a nested type of Template Class AdaptiveRadixTree.

Nested Types

Class Documentation

class Slab

the memory of the leaves: slots of 16 to 512 bytes in steps of 16, a list of the free slots for each size, cut from blocks that double up to 2 MB (on huge pages [see HugePageAllocator.h]); larger leaves come from the allocator

Public Functions

Slab(void) = default
Slab(const Slab&) = delete
Slab &operator=(const Slab&) = delete
inline ~Slab()
void *take(std::size_t bytes)
void give(void *p, std::size_t bytes) noexcept
void release(void) noexcept
void swap(Slab &o) noexcept