Home
last modified time | relevance | path

Searched refs:CollectorBlock (Results 1 – 3 of 3) sorted by relevance

/external/webkit/JavaScriptCore/runtime/
DCollector.h42 class CollectorBlock; variable
56 CollectorBlock** blocks;
123 static CollectorBlock* cellBlock(const JSCell*);
130 NEVER_INLINE CollectorBlock* allocateBlock();
132 NEVER_INLINE void freeBlockPtr(CollectorBlock*);
138 void clearMarkBits(CollectorBlock*);
235 class CollectorBlock {
246 typedef CollectorBlock Block;
249 inline CollectorBlock* Heap::cellBlock(const JSCell* cell)
251 return reinterpret_cast<CollectorBlock*>(reinterpret_cast<uintptr_t>(cell) & BLOCK_MASK);
DCollector.cpp218 NEVER_INLINE CollectorBlock* Heap::allocateBlock() in allocateBlock()
270 CollectorBlock* block = reinterpret_cast<CollectorBlock*>(address); in allocateBlock()
282 static const size_t maxNumBlocks = ULONG_MAX / sizeof(CollectorBlock*) / GROWTH_FACTOR; in allocateBlock()
287 …m_heap.blocks = static_cast<CollectorBlock**>(fastRealloc(m_heap.blocks, numBlocks * sizeof(Collec… in allocateBlock()
310 …m_heap.blocks = static_cast<CollectorBlock**>(fastRealloc(m_heap.blocks, m_heap.numBlocks * sizeof… in freeBlock()
314 NEVER_INLINE void Heap::freeBlockPtr(CollectorBlock* block) in freeBlockPtr()
770 CollectorBlock** blocks = m_heap.blocks; in markConservatively()
783 CollectorBlock* blockAddr = reinterpret_cast<CollectorBlock*>(xAsBits - offset); in markConservatively()
1038 void Heap::clearMarkBits(CollectorBlock* block) in clearMarkBits()
/external/webkit/JavaScriptCore/
DChangeLog-2008-08-105161 (KJS::CollectorBlock): Added a back-reference to Heap for Heap::heap() method.
16444 … (KJS::CollectorBlock): Removed collectOnMainThreadOnly bitmap, added a reference to owner heap.