52 #define MEMSIZE 4194304
92 tmpPtr = (
void *)calloc(
MEMSIZE,1);
114 newPool->
nextAlloc = (
char *)newPool + segmentSize;
124 void *MemorySegmentPool::operator
new(
size_t size,
size_t minSize)
132 size_t initialSegSize;
144 tmpPtr = calloc(poolSize,1);
163 newPool->
nextAlloc = (
char *)newPool + initialSegSize;
216 this->
next = newPool;
265 this->
next = newPool;
290 this->
next = nextPoolPtr;
void reportException(wholenumber_t error)
#define MemorySegmentPoolOverhead
#define Error_System_resources
MemorySegment * newLargeSegment(size_t minSize)
MemorySegment * newSegment(size_t minSize)
static MemorySegmentPool * createPool()
void setNext(MemorySegmentPool *nextPool)
void memoryPoolAdded(MemorySegmentPool *)
static void * allocateResultMemory(size_t)
static void releaseResultMemory(void *)