#include <new>
#include "ansiwrapper.h"
#include "cpuinfo.h"
#include "hoard.h"
#include "heapmanager.h"
#include <cstdlib>
#include "guard.h"
#include "dllist.h"
#include "array.h"
#include "VERSION.h"
#include <dlfcn.h>
#include "wrapper.cpp"
Classes | |
class | Hoard::HoardHeapType |
class | Hoard::TLAB |
Namespaces | |
namespace | Hoard |
Defines | |
#define | HOARD_MMAP_PROTECTION_MASK (PROT_READ | PROT_WRITE) |
Typedefs | |
typedef HoardHeapType::SuperblockType::Header | Hoard::TheHeader |
typedef ThreadLocalAllocationBuffer < HL::bins< TheHeader, SUPERBLOCK_SIZE >::NUM_BINS, HL::bins< TheHeader, SUPERBLOCK_SIZE > ::getSizeClass, HL::bins < TheHeader, SUPERBLOCK_SIZE > ::getClassSize, LargestSmallObject, MAX_MEMORY_PER_TLAB, HoardHeapType::SuperblockType, SUPERBLOCK_SIZE, HoardHeapType > | Hoard::TLABBase |
typedef TLAB | TheCustomHeapType |
Enumerations | |
enum | { Hoard::MAX_MEMORY_PER_TLAB = 256 * 1024 } |
The maximum amount of memory that each TLAB may hold, in bytes. More... | |
enum | { Hoard::MaxThreads = 1024 } |
The maximum number of threads supported (sort of). More... | |
enum | { Hoard::NumHeaps = 128 } |
The maximum number of heaps supported. More... | |
enum | { Hoard::LargestSmallObject = 256 } |
Size, in bytes, of the largest object we will cache on a thread-local allocation buffer. More... | |
Functions | |
static HoardHeapType * | getMainHoardHeap (void) |
Maintain a single instance of the main Hoard heap. | |
Variables | |
volatile int | anyThreadCreated = 0 |
#define HOARD_MMAP_PROTECTION_MASK (PROT_READ | PROT_WRITE) |
typedef TLAB TheCustomHeapType |
static HoardHeapType* getMainHoardHeap | ( | void | ) | [inline, static] |
Maintain a single instance of the main Hoard heap.
volatile int anyThreadCreated = 0 |