Home
last modified time | relevance | path

Searched refs:sizeClass (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/JavaScriptCore/jit/
DExecutableAllocatorFixedVMPool.cpp106 size_t allocate(AllocationTableSizeClass& sizeClass) in allocate() argument
108 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() argument
129 ASSERT(sizeClass.blockSize() == subregionSize); in free()
132 size_t count = sizeClass.blockCount(); in free()
189 size_t allocate(AllocationTableSizeClass& sizeClass) in allocate() argument
193 return m_ptr->allocate(sizeClass); in allocate()
196 void free(size_t location, AllocationTableSizeClass& sizeClass) in free() argument
[all …]
/external/webkit/Source/JavaScriptCore/heap/
DMarkedSpace.cpp53 MarkedBlock* MarkedSpace::allocateBlock(SizeClass& sizeClass) in allocateBlock() argument
55 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() argument
77 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() local
100 sizeClass.blockList.remove(block); in shrink()
101 sizeClass.nextBlock = sizeClass.blockList.head(); in shrink()
/external/webkit/Source/JavaScriptCore/runtime/
DJSCell.h379 SizeClass& sizeClass = sizeClassFor(bytes); in allocate() local
380 return allocateFromSizeClass(sizeClass); in allocate()
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.cpp2297 for (unsigned sizeClass = 0; sizeClass < kNumClasses; sizeClass++) in enumerateFreeObjects() local
2298 list_[sizeClass].enumerateFreeObjects(finder, reader); in enumerateFreeObjects()