Home
last modified time | relevance | path

Searched refs:MarkedBlock (Results 1 – 12 of 12) sorted by relevance

/external/webkit/Source/JavaScriptCore/heap/
DMarkedBlock.h39 class MarkedBlock {
43 static MarkedBlock* create(JSGlobalData*, size_t cellSize);
44 static void destroy(MarkedBlock*);
47 static MarkedBlock* blockFor(const void*);
52 void setPrev(MarkedBlock*);
53 void setNext(MarkedBlock*);
54 MarkedBlock* prev() const;
55 MarkedBlock* next() const;
89 MarkedBlock(const PageAllocationAligned&, JSGlobalData*, size_t cellSize);
98 MarkedBlock* m_prev;
[all …]
DMarkedSpace.h84 static const size_t preciseStep = MarkedBlock::atomSize;
93 typedef HashSet<MarkedBlock*>::iterator BlockIterator;
99 MarkedBlock* nextBlock;
100 DoublyLinkedList<MarkedBlock> blockList;
104 MarkedBlock* allocateBlock(SizeClass&);
105 void freeBlocks(DoublyLinkedList<MarkedBlock>&);
110 void clearMarks(MarkedBlock*);
114 HashSet<MarkedBlock*> m_blocks;
122 return MarkedBlock::blockFor(cell)->heap(); in heap()
127 return MarkedBlock::blockFor(cell)->isMarked(cell); in isMarked()
[all …]
DMarkedBlock.cpp36 MarkedBlock* MarkedBlock::create(JSGlobalData* globalData, size_t cellSize) in create()
41 return new (allocation.base()) MarkedBlock(allocation, globalData, cellSize); in create()
44 void MarkedBlock::destroy(MarkedBlock* block) in destroy()
51 MarkedBlock::MarkedBlock(const PageAllocationAligned& allocation, JSGlobalData* globalData, size_t … in MarkedBlock() function in JSC::MarkedBlock
66 void MarkedBlock::sweep() in sweep()
DMarkedSpace.cpp53 MarkedBlock* MarkedSpace::allocateBlock(SizeClass& sizeClass) in allocateBlock()
55 MarkedBlock* block = MarkedBlock::create(globalData(), sizeClass.cellSize); in allocateBlock()
63 void MarkedSpace::freeBlocks(DoublyLinkedList<MarkedBlock>& blocks) in freeBlocks()
65 MarkedBlock* next; in freeBlocks()
66 for (MarkedBlock* block = blocks.head(); block; block = next) { in freeBlocks()
71 MarkedBlock::destroy(block); in freeBlocks()
77 for (MarkedBlock*& block = sizeClass.nextBlock ; block; block = block->next()) { in allocateFromSizeClass()
93 DoublyLinkedList<MarkedBlock> empties; in shrink()
97 MarkedBlock* block = *it; in shrink()
/external/webkit/Source/JavaScriptCore/
DChangeLog362 * heap/MarkedBlock.cpp:
363 (JSC::MarkedBlock::MarkedBlock):
364 (JSC::MarkedBlock::sweep):
1477 * heap/MarkedBlock.cpp: Copied from runtime/MarkedBlock.cpp.
1478 * heap/MarkedBlock.h: Copied from runtime/MarkedBlock.h.
1491 * runtime/MarkedBlock.cpp: Removed.
1492 * runtime/MarkedBlock.h: Removed.
2619 * runtime/MarkedBlock.cpp:
2620 (JSC::MarkedBlock::sweep):
4726 * runtime/MarkedBlock.h:
[all …]
DCMakeLists.txt48 heap/MarkedBlock.cpp
DChangeLog-2011-02-16375 Moved MarkedBlock data members to the head of the block
383 (JSC::JSCell::MarkedBlock::allocate):
384 * runtime/MarkedBlock.cpp:
385 (JSC::MarkedBlock::destroy):
386 (JSC::MarkedBlock::MarkedBlock):
387 (JSC::MarkedBlock::sweep):
388 * runtime/MarkedBlock.h: Added missing element to the CELLS_PER_BLOCK
393 (JSC::MarkedBlock::firstCell):
394 (JSC::MarkedBlock::cells):
395 (JSC::MarkedBlock::cellNumber): Use subtraction instead of masking to
[all …]
DJavaScriptCore.pro84 heap/MarkedBlock.cpp \
DJavaScriptCore.gypi322 'heap/MarkedBlock.cpp',
323 'heap/MarkedBlock.h',
DGNUmakefile.list.am105 Source/JavaScriptCore/heap/MarkedBlock.cpp \
106 Source/JavaScriptCore/heap/MarkedBlock.h \
/external/webkit/Source/JavaScriptCore/runtime/
DJSCell.h69 friend class MarkedBlock; variable
354 inline void* MarkedBlock::allocate() in allocate()
/external/webkit/Source/JavaScriptCore/JavaScriptCore.xcodeproj/
Dproject.pbxproj87 …D6F0813539A2800B02E86 /* MarkedBlock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 142D6F0613…
88 …2D6F0913539A2800B02E86 /* MarkedBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = 142D6F07135…
725 …A2800B02E86 /* MarkedBlock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
726 …539A2800B02E86 /* MarkedBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1474 142D6F0613539A2800B02E86 /* MarkedBlock.cpp */,
1475 142D6F0713539A2800B02E86 /* MarkedBlock.h */,
2540 142D6F0913539A2800B02E86 /* MarkedBlock.h in Headers */,
2985 142D6F0813539A2800B02E86 /* MarkedBlock.cpp in Sources */,