|
| 1 | +2017-07-05 Yusuke Suzuki < [email protected]> |
| 2 | + |
| 3 | + [WTF] Implement WTF::ThreadGroup |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=174081 |
| 5 | + |
| 6 | + Reviewed by Mark Lam. |
| 7 | + |
| 8 | + Large part of MachineThreads are now removed and replaced with WTF::ThreadGroup. |
| 9 | + And SamplingProfiler and others interact with WTF::Thread directly. |
| 10 | + |
| 11 | + * API/tests/ExecutionTimeLimitTest.cpp: |
| 12 | + * heap/MachineStackMarker.cpp: |
| 13 | + (JSC::MachineThreads::MachineThreads): |
| 14 | + (JSC::captureStack): |
| 15 | + (JSC::MachineThreads::tryCopyOtherThreadStack): |
| 16 | + (JSC::MachineThreads::tryCopyOtherThreadStacks): |
| 17 | + (JSC::MachineThreads::gatherConservativeRoots): |
| 18 | + (JSC::ActiveMachineThreadsManager::Locker::Locker): Deleted. |
| 19 | + (JSC::ActiveMachineThreadsManager::add): Deleted. |
| 20 | + (JSC::ActiveMachineThreadsManager::remove): Deleted. |
| 21 | + (JSC::ActiveMachineThreadsManager::contains): Deleted. |
| 22 | + (JSC::ActiveMachineThreadsManager::ActiveMachineThreadsManager): Deleted. |
| 23 | + (JSC::activeMachineThreadsManager): Deleted. |
| 24 | + (JSC::MachineThreads::~MachineThreads): Deleted. |
| 25 | + (JSC::MachineThreads::addCurrentThread): Deleted. |
| 26 | + (): Deleted. |
| 27 | + (JSC::MachineThreads::removeThread): Deleted. |
| 28 | + (JSC::MachineThreads::removeThreadIfFound): Deleted. |
| 29 | + (JSC::MachineThreads::MachineThread::MachineThread): Deleted. |
| 30 | + (JSC::MachineThreads::MachineThread::getRegisters): Deleted. |
| 31 | + (JSC::MachineThreads::MachineThread::Registers::stackPointer): Deleted. |
| 32 | + (JSC::MachineThreads::MachineThread::Registers::framePointer): Deleted. |
| 33 | + (JSC::MachineThreads::MachineThread::Registers::instructionPointer): Deleted. |
| 34 | + (JSC::MachineThreads::MachineThread::Registers::llintPC): Deleted. |
| 35 | + (JSC::MachineThreads::MachineThread::captureStack): Deleted. |
| 36 | + * heap/MachineStackMarker.h: |
| 37 | + (JSC::MachineThreads::addCurrentThread): |
| 38 | + (JSC::MachineThreads::getLock): |
| 39 | + (JSC::MachineThreads::threads): |
| 40 | + (JSC::MachineThreads::MachineThread::suspend): Deleted. |
| 41 | + (JSC::MachineThreads::MachineThread::resume): Deleted. |
| 42 | + (JSC::MachineThreads::MachineThread::threadID): Deleted. |
| 43 | + (JSC::MachineThreads::MachineThread::stackBase): Deleted. |
| 44 | + (JSC::MachineThreads::MachineThread::stackEnd): Deleted. |
| 45 | + (JSC::MachineThreads::threadsListHead): Deleted. |
| 46 | + * runtime/SamplingProfiler.cpp: |
| 47 | + (JSC::FrameWalker::isValidFramePointer): |
| 48 | + (JSC::SamplingProfiler::SamplingProfiler): |
| 49 | + (JSC::SamplingProfiler::takeSample): |
| 50 | + (JSC::SamplingProfiler::noticeCurrentThreadAsJSCExecutionThread): |
| 51 | + * runtime/SamplingProfiler.h: |
| 52 | + * wasm/WasmMachineThreads.cpp: |
| 53 | + (JSC::Wasm::resetInstructionCacheOnAllThreads): |
| 54 | + |
1 | 55 | 2017-07-06 Saam Barati < [email protected]>
|
2 | 56 |
|
3 | 57 | We are missing places where we invalidate the for-in context
|
|
0 commit comments