Changeset 179753 in webkit for trunk/Source/JavaScriptCore/heap/Heap.cpp
- Timestamp:
- Feb 6, 2015, 12:57:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/Heap.cpp
r179728 r179753 312 312 , m_storageSpace(this) 313 313 , m_extraMemoryUsage(0) 314 , m_machineThreads(this)315 314 , m_sharedData(vm) 316 315 , m_slotVisitor(m_sharedData) … … 341 340 #endif 342 341 { 342 m_machineThreads = adoptRef(new MachineThreads(this)); 343 343 m_storageSpace.init(); 344 344 if (Options::verifyHeap()) … … 348 348 Heap::~Heap() 349 349 { 350 // We need to remove the main thread explicitly here because the main thread 351 // may not terminate for a while though the Heap (and VM) is being shut down. 352 m_machineThreads->removeCurrentThread(); 350 353 } 351 354 … … 588 591 GCPHASE(GatherStackRoots); 589 592 m_jitStubRoutines.clearMarks(); 590 m_machineThreads .gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy, registers);593 m_machineThreads->gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy, registers); 591 594 } 592 595
Note:
See TracChangeset
for help on using the changeset viewer.