Manages a pool of fixed allocators.
More...
#include <SmallObjectAllocator.h>
Manages a pool of fixed allocators.
Definition at line 19 of file SmallObjectAllocator.h.
Protium::Allocation::SmallObjectAllocatorImplementation::SmallObjectAllocatorImplementation |
( |
std::size_t |
pageSize, |
|
|
std::size_t |
maxObjectSize, |
|
|
std::size_t |
objectAlignSize |
|
) |
| |
|
protected |
Protium::Allocation::SmallObjectAllocatorImplementation::~SmallObjectAllocatorImplementation |
( |
void |
| ) |
|
|
protected |
Protium::Allocation::SmallObjectAllocatorImplementation::SmallObjectAllocatorImplementation |
( |
void |
| ) |
|
|
private |
void * Protium::Allocation::SmallObjectAllocatorImplementation::Allocate |
( |
std::size_t |
size, |
|
|
bool |
doThrow |
|
) |
| |
void Protium::Allocation::SmallObjectAllocatorImplementation::Deallocate |
( |
void * |
p, |
|
|
std::size_t |
size |
|
) |
| |
void Protium::Allocation::SmallObjectAllocatorImplementation::Deallocate |
( |
void * |
p | ) |
|
std::size_t Protium::Allocation::SmallObjectAllocatorImplementation::GetAlignment |
( |
| ) |
const |
|
inline |
std::size_t Protium::Allocation::SmallObjectAllocatorImplementation::GetMaxObjectSize |
( |
| ) |
const |
|
inline |
bool Protium::Allocation::SmallObjectAllocatorImplementation::IsCorrupt |
( |
void |
| ) |
const |
bool Protium::Allocation::SmallObjectAllocatorImplementation::TrimExcessMemory |
( |
void |
| ) |
|
const std::size_t Protium::Allocation::SmallObjectAllocatorImplementation::fAlignSize |
|
private |
const std::size_t Protium::Allocation::SmallObjectAllocatorImplementation::fMaxObjectSize |
|
private |