[Webkit-unassigned] [Bug 170751] We need to destroy worker threads in jsc.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 18 15:51:10 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170751

--- Comment #4 from Saam Barati <sbarati at apple.com> ---
The bug is as follows:
- We're asserting that a string that we observed as being atomic is no longer atomic.
- This happens because we create the $agent thread, start compiling code, then destroy the thread, all before the compilation finishes. This will lead to the thread's atomic string table being destroyed.

We have two options:
1. Wait for compilations to finish for workers
2. Just destroy worker VMs

I'm choosing 2 since this is what WebCore does and it's probably good testing.

We're not going to destroy the VM when it's the main thread VM since the main thread is just going to exit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170518/0573c588/attachment.html>


More information about the webkit-unassigned mailing list