Kaim::PageAlloc Class Reference

Kaim::PageAlloc Class Reference

#include <systemalloc.h>

Class Description

Multi-platform abstraction of aligned malloc/free/realloc windows (_aligned_malloc, _aligned_free, _aligned_realloc), posix (memalign, reallocalign, free), or handmade alignment used by derivations of SysAlloc Note that this is called with for 4096 byte "page" allocations to group smaller allocations <= 512 bytes but also directly for allocations > 512 bytes So the name PageAlloc is not totally relevant, but the interface has enough information to take advantage of platform specific page allocations.


The documentation for this class was generated from the following files:
  • gwnavruntime/basesystem/systemalloc.h
  • gwnavruntime/basesystem/systemalloc.cpp