Destructor Function.
Release all memory to cc while thread is destroied.
Release all memory to cc while thread is destroied.
15 {
20 {
22 {
24 }
25 }
26 }
static size_t Bytes(size_t index)
Determine how much bytes freelist should process the memory block with given index.
static constexpr size_t FREE_LIST_NUM
Number of freelist. equals to 16 + 56 + 56 + 56 + 24.
std::array< scl::free_list, MemoryPool::FREE_LIST_NUM > m_FreeLists
FreeList Array.
static void ReleaseToCentralCache(scl::free_list &list, size_t size, size_t count)
Release memory to cc.