#include "config.h"
構成 | |
class | SysAllocator |
関数 | |
void * | TCMalloc_SystemAlloc (size_t bytes, size_t *actual_bytes, size_t alignment=0) |
void | TCMalloc_SystemRelease (void *start, size_t length) |
PERFTOOLS_DLL_DECL bool | RegisterSystemAllocator (SysAllocator *allocator, int priority) |
変数 | |
static const int | kMaxDynamicAllocators = 2 |
PERFTOOLS_DLL_DECL bool RegisterSystemAllocator | ( | SysAllocator * | allocator, | |
int | priority | |||
) |
void* TCMalloc_SystemAlloc | ( | size_t | bytes, | |
size_t * | actual_bytes, | |||
size_t | alignment = 0 | |||
) |
void TCMalloc_SystemRelease | ( | void * | start, | |
size_t | length | |||
) |
tcmalloc-0.93/system-alloc.cc の 389 行で定義されています。
参照元 TCMalloc_PageHeap::IncrementalScavenge(), と ReleaseFreeList().
const int kMaxDynamicAllocators = 2 [static] |