Public メソッド | |
void | Init () |
T * | New () |
void | Delete (T *p) |
int | inuse () const |
void | Init () |
T * | New () |
void | Delete (T *p) |
int | inuse () const |
Private 変数 | |
char * | free_area_ |
size_t | free_avail_ |
void * | free_list_ |
int | inuse_ |
Static Private 変数 | |
static const int | kAllocIncrement = 128 << 10 |
static const size_t | kAlignedSize = (((sizeof(T) + kAlignment - 1) / kAlignment) * kAlignment) |
tcmalloc-0.8/tcmalloc.cc の 435 行で定義されています。
void PageHeapAllocator< T >::Init | ( | ) | [inline] |
tcmalloc-0.8/tcmalloc.cc の 455 行で定義されています。
参照先 ASSERT, PageHeapAllocator< T >::Delete(), PageHeapAllocator< T >::free_area_, PageHeapAllocator< T >::free_avail_, PageHeapAllocator< T >::free_list_, PageHeapAllocator< T >::inuse_, PageHeapAllocator< T >::kAlignedSize, PageHeapAllocator< T >::kAllocIncrement, と PageHeapAllocator< T >::New().
T* PageHeapAllocator< T >::New | ( | ) | [inline] |
tcmalloc-0.8/tcmalloc.cc の 465 行で定義されています。
参照先 PageHeapAllocator< T >::free_area_, PageHeapAllocator< T >::free_avail_, PageHeapAllocator< T >::free_list_, PageHeapAllocator< T >::inuse_, PageHeapAllocator< T >::kAlignedSize, PageHeapAllocator< T >::kAllocIncrement, と MetaDataAlloc().
参照元 TCMalloc_ThreadCache::CreateCacheIfNecessary(), DoSampledAllocation(), PageHeapAllocator< T >::Init(), TCMalloc_ThreadCache::InitModule(), TCMalloc_ThreadCache::NewHeap(), NewSpan(), と RecordGrowth().
void PageHeapAllocator< T >::Delete | ( | T * | p | ) | [inline] |
int PageHeapAllocator< T >::inuse | ( | ) | const [inline] |
void PageHeapAllocator< T >::Init | ( | ) | [inline] |
tcmalloc-0.93/tcmalloc.cc の 577 行で定義されています。
参照先 ASSERT, PageHeapAllocator< T >::Delete(), PageHeapAllocator< T >::free_area_, PageHeapAllocator< T >::free_avail_, PageHeapAllocator< T >::free_list_, PageHeapAllocator< T >::inuse_, PageHeapAllocator< T >::kAlignedSize, PageHeapAllocator< T >::kAllocIncrement, と PageHeapAllocator< T >::New().
T* PageHeapAllocator< T >::New | ( | ) | [inline] |
void PageHeapAllocator< T >::Delete | ( | T * | p | ) | [inline] |
tcmalloc-0.93/tcmalloc.cc の 608 行で定義されています。
参照先 PageHeapAllocator< T >::free_list_, と PageHeapAllocator< T >::inuse_.
int PageHeapAllocator< T >::inuse | ( | ) | const [inline] |
static const int PageHeapAllocator< T >::kAllocIncrement = 128 << 10 [static, private] |
tcmalloc-0.8/tcmalloc.cc の 438 行で定義されています。
参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().
static const size_t PageHeapAllocator< T >::kAlignedSize = (((sizeof(T) + kAlignment - 1) / kAlignment) * kAlignment) [static, private] |
tcmalloc-0.8/tcmalloc.cc の 442 行で定義されています。
参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().
char * PageHeapAllocator< T >::free_area_ [private] |
tcmalloc-0.8/tcmalloc.cc の 445 行で定義されています。
参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().
size_t PageHeapAllocator< T >::free_avail_ [private] |
tcmalloc-0.8/tcmalloc.cc の 446 行で定義されています。
参照元 PageHeapAllocator< T >::Init(), と PageHeapAllocator< T >::New().
void * PageHeapAllocator< T >::free_list_ [private] |
int PageHeapAllocator< T >::inuse_ [private] |