Changeset 16614 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Sep 28, 2006, 2:13:03 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/collector.cpp
r15846 r16614 117 117 // collect if needed 118 118 size_t numLiveObjects = heap.numLiveObjects; 119 if (numLiveObjects - heap.numLiveObjectsAtLastCollect >= ALLOCATIONS_PER_COLLECTION) { 119 size_t numLiveObjectsAtLastCollect = heap.numLiveObjectsAtLastCollect; 120 size_t numNewObjects = numLiveObjects - numLiveObjectsAtLastCollect; 121 if (numNewObjects >= ALLOCATIONS_PER_COLLECTION && numNewObjects >= numLiveObjectsAtLastCollect) { 120 122 collect(); 121 123 numLiveObjects = heap.numLiveObjects;
Note:
See TracChangeset
for help on using the changeset viewer.