Searched refs:sizeClass (Results 1 – 4 of 4) sorted by relevance
106 size_t allocate(AllocationTableSizeClass& sizeClass) in allocate() argument108 ASSERT(sizeClass.blockSize() == subregionSize); in allocate()111 size_t alignment = sizeClass.blockAlignment(); in allocate()112 size_t count = sizeClass.blockCount(); in allocate()127 void free(size_t location, AllocationTableSizeClass& sizeClass) in free() argument129 ASSERT(sizeClass.blockSize() == subregionSize); in free()132 size_t count = sizeClass.blockCount(); in free()189 size_t allocate(AllocationTableSizeClass& sizeClass) in allocate() argument193 return m_ptr->allocate(sizeClass); in allocate()196 void free(size_t location, AllocationTableSizeClass& sizeClass) in free() argument[all …]
53 MarkedBlock* MarkedSpace::allocateBlock(SizeClass& sizeClass) in allocateBlock() argument55 MarkedBlock* block = MarkedBlock::create(globalData(), sizeClass.cellSize); in allocateBlock()56 sizeClass.blockList.append(block); in allocateBlock()57 sizeClass.nextBlock = block; in allocateBlock()75 void* MarkedSpace::allocateFromSizeClass(SizeClass& sizeClass) in allocateFromSizeClass() argument77 for (MarkedBlock*& block = sizeClass.nextBlock ; block; block = block->next()) { in allocateFromSizeClass()85 return allocateBlock(sizeClass)->allocate(); in allocateFromSizeClass()99 SizeClass& sizeClass = sizeClassFor(block->cellSize()); in shrink() local100 sizeClass.blockList.remove(block); in shrink()101 sizeClass.nextBlock = sizeClass.blockList.head(); in shrink()
379 SizeClass& sizeClass = sizeClassFor(bytes); in allocate() local380 return allocateFromSizeClass(sizeClass); in allocate()
2297 for (unsigned sizeClass = 0; sizeClass < kNumClasses; sizeClass++) in enumerateFreeObjects() local2298 list_[sizeClass].enumerateFreeObjects(finder, reader); in enumerateFreeObjects()