Ase::FastMemory::Arena struct

Memory area (over-)aligned to cache size and utilizing huge pages.

Constructors, destructors, conversion operators

Arena(uint32 mem_size, uint32 alignment = cache_line_size) explicit
Create isolated memory area.

Public functions

auto alignment() const →  size_t
Alignment for block addresses and length.
auto allocate(uint32 length) const →  Block
Create a memory block from cache-line aligned memory area, MT-Unsafe.
auto location() const →  uint64
Address of memory area.
void release(Block allocatedblock) const
Realease a previously allocated block, MT-Unsafe.
auto reserved() const →  uint64
Reserved memory area in bytes.

Protected variables

AllocatorP fma
Identifier for the associated memory allocator.