Make WeakGCMap use new handle infrastructure
Created attachment 83576 [details] Patch
Comment on attachment 83576 [details] Patch I've realised that i can separate out a few bits of this patch completely
Created attachment 83702 [details] Patch
Comment on attachment 83702 [details] Patch r=me I think you should verify performance using the Droameo and DOM Mandlebrot tests.
Committed r79616: <http://trac.webkit.org/changeset/79616>
Worker tests are crashing since around this time: Thread 8 Crashed: WebCore: Worker 0 com.apple.JavaScriptCore 0x00000001002b3907 JSC::MarkedBlock::destroy(JSC::MarkedBlock*) + 39 (MarkedBlock.cpp:44) 1 com.apple.JavaScriptCore 0x000000010022ce48 JSC::MarkedSpace::freeBlocks(WTF::DoublyLinkedList<JSC::MarkedBlock>&) + 392 (MarkedSpace.cpp:66) 2 com.apple.JavaScriptCore 0x000000010022d593 JSC::MarkedSpace::shrink() + 163 (MarkedSpace.cpp:103) 3 com.apple.JavaScriptCore 0x0000000100167ced JSC::Heap::destroy() + 109 (Heap.cpp:84) 4 com.apple.WebCore 0x00000001013c43fc WebCore::WorkerScriptController::~WorkerScriptController() + 76 (WorkerScriptController.cpp:65) 5 com.apple.WebCore 0x00000001013c7802 WebCore::WorkerThreadShutdownFinishTask::performTask(WebCore::ScriptExecutionContext*) + 50 (WorkerScriptController.h:48) 6 com.apple.WebCore 0x00000001013c3841 WebCore::WorkerRunLoop::runInMode(WebCore::WorkerContext*, WebCore::ModePredicate const&) + 385 (WorkerRunLoop.cpp:163) 7 com.apple.WebCore 0x00000001013c3a1e WebCore::WorkerRunLoop::run(WebCore::WorkerContext*) + 238 (WorkerRunLoop.cpp:133) 8 com.apple.WebCore 0x00000001013c71c0 WebCore::WorkerThread::workerThread() + 992 (WorkerThread.cpp:143) 9 libSystem.B.dylib 0x00007fff859e3456 _pthread_start + 331 10 libSystem.B.dylib 0x00007fff859e3309 thread_start + 13 Either this, or bug 55159 is to blame.