Changeset 25637 in webkit for trunk/JavaScriptCore/wtf/FastMalloc.cpp
- Timestamp:
- Sep 19, 2007, 3:07:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/FastMalloc.cpp
r25483 r25637 2476 2476 void findFreeObjects(TCMalloc_ThreadCache* threadCache) 2477 2477 { 2478 for (; threadCache; threadCache = threadCache->next_)2478 for (; threadCache; threadCache = (threadCache->next_ ? m_reader(threadCache->next_) : 0)) 2479 2479 threadCache->enumerateFreeObjects(*this, m_reader); 2480 2480 } … … 2594 2594 2595 2595 TCMalloc_Central_FreeListPadded* centralCaches = memoryReader(mzone->m_centralCaches, sizeof(TCMalloc_Central_FreeListPadded) * kNumClasses); 2596 2597 // Rebuild the linked list in our address space, mapping over the remote pointers as needed2598 for (TCMalloc_ThreadCache* threadHeap = threadHeaps; threadHeap->next_; threadHeap = threadHeap->next_) {2599 threadHeap->next_ = memoryReader(threadHeap->next_);2600 threadHeap->next_->prev_ = threadHeap;2601 }2602 2596 2603 2597 FreeObjectFinder finder(memoryReader);
Note:
See TracChangeset
for help on using the changeset viewer.