#include <mem.h>
Public Types | |
typedef ThreadAwarePrivateHeap < FreeListHeap< SimpleBumpPtr < SystemBaseAlloc > > > | SizedAlloc |
Public Member Functions | |
SizedAlloc * | getAllocatorForSize (unsigned int) |
Static Public Member Functions | |
static SizedAllocatorFactory * | getInstance () |
Private Types | |
typedef std::map< unsigned int, SizedAlloc * > | AllocatorsTy |
Private Member Functions | |
~SizedAllocatorFactory () | |
Private Attributes | |
AllocatorsTy | allocators |
SimpleLock< int, true > | lock |
Static Private Attributes | |
static PtrLock < SizedAllocatorFactory *, true > | instance |
typedef std::map<unsigned int, SizedAlloc*> GaloisRuntime::MM::SizedAllocatorFactory::AllocatorsTy [private] |
typedef ThreadAwarePrivateHeap< FreeListHeap<SimpleBumpPtr<SystemBaseAlloc> > > GaloisRuntime::MM::SizedAllocatorFactory::SizedAlloc |
SizedAllocatorFactory::~SizedAllocatorFactory | ( | ) | [private] |
SizedAllocatorFactory::SizedAlloc * SizedAllocatorFactory::getAllocatorForSize | ( | unsigned int | size | ) |
static SizedAllocatorFactory* GaloisRuntime::MM::SizedAllocatorFactory::getInstance | ( | ) | [inline, static] |
PtrLock< SizedAllocatorFactory *, true > SizedAllocatorFactory::instance [static, private] |
SimpleLock<int, true> GaloisRuntime::MM::SizedAllocatorFactory::lock [private] |