This is the base source of memory for all allocators. More...
#include <Mem.h>
Inherited by Galois::Runtime::MM::FreeListHeap< Galois::Runtime::MM::SystemBaseAlloc >.
Public Types | |
enum | { AllocSize = pageSize } |
Public Member Functions | |
SystemBaseAlloc () | |
~SystemBaseAlloc () | |
void * | allocate (size_t size) |
void | deallocate (void *ptr) |
This is the base source of memory for all allocators.
It maintains a freelist of hunks acquired from the system
SystemBaseAlloc::SystemBaseAlloc | ( | ) |
SystemBaseAlloc::~SystemBaseAlloc | ( | ) |
void* Galois::Runtime::MM::SystemBaseAlloc::allocate | ( | size_t | size | ) | [inline] |
void Galois::Runtime::MM::SystemBaseAlloc::deallocate | ( | void * | ptr | ) | [inline] |