#include <Arena.H>
Inheritance diagram for CArena:
Public Types | |
enum | { DefaultHunkSize = 1024*1024 } |
Public Methods | |
CArena (size_t hunk_size=0) | |
virtual | ~CArena () |
virtual void * | alloc (size_t nbytes) |
virtual void | free (void *ap) |
void * | calloc (size_t nmemb, size_t size) |
void * | realloc (void *ptr, size_t size) |
Protected Types | |
typedef set< Node > | NL |
Protected Attributes | |
std::vector< void * > | m_alloc |
NL | m_freelist |
NL | m_busylist |
size_t | m_hunk |
|
|
|
|
|
|
|
|
|
Implements Arena. |
|
|
|
Implements Arena. |
|
|
|
|
|
|
|
|
|
|