Changeset 180591 in webkit for trunk/Source/JavaScriptCore/heap/Heap.cpp
- Timestamp:
- Feb 24, 2015, 4:03:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/Heap.cpp
r179753 r180591 312 312 , m_storageSpace(this) 313 313 , m_extraMemoryUsage(0) 314 , m_machineThreads(this) 314 315 , m_sharedData(vm) 315 316 , m_slotVisitor(m_sharedData) … … 340 341 #endif 341 342 { 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 thread351 // may not terminate for a while though the Heap (and VM) is being shut down.352 m_machineThreads->removeCurrentThread();353 350 } 354 351 … … 591 588 GCPHASE(GatherStackRoots); 592 589 m_jitStubRoutines.clearMarks(); 593 m_machineThreads ->gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy, registers);590 m_machineThreads.gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy, registers); 594 591 } 595 592
Note:
See TracChangeset
for help on using the changeset viewer.