Changeset 30576 in webkit for trunk/JavaScriptCore/kjs/collector.cpp
- Timestamp:
- Feb 25, 2008, 2:44:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/collector.cpp
r30492 r30576 84 84 const size_t LOW_WATER_FACTOR = 4; 85 85 const size_t ALLOCATIONS_PER_COLLECTION = 4000; 86 87 enum OperationInProgress { NoOperation, Allocation, Collection };88 89 struct CollectorHeap {90 CollectorBlock** blocks;91 size_t numBlocks;92 size_t usedBlocks;93 size_t firstBlockWithPossibleSpace;94 95 size_t numLiveObjects;96 size_t numLiveObjectsAtLastCollect;97 size_t extraCost;98 99 OperationInProgress operationInProgress;100 };101 86 102 87 static CollectorHeap primaryHeap = { 0, 0, 0, 0, 0, 0, 0, NoOperation };
Note:
See TracChangeset
for help on using the changeset viewer.