[Webkit-unassigned] [Bug 32689] Fix the leak of ThreadIdentifiers in threadMap across threads.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 5 18:00:08 PST 2010


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


Dmitry Titov <dimich at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45119|0                           |1
        is obsolete|                            |
  Attachment #45951|                            |review?, commit-queue-
               Flag|                            |




--- Comment #4 from Dmitry Titov <dimich at chromium.org>  2010-01-05 18:00:07 PST ---
Created an attachment (id=45951)
 --> (https://bugs.webkit.org/attachment.cgi?id=45951)
Patch with test.

Same change, with a test.

See DumRenderTree.mm and WebKitTools/ChangeLog for the description of the test.
Basically, it starts couple of trivial threads that use WTF::currentThread()
method. Without the fix, there are at least 2 ASSERTS on the way of DRT to
completion.
It simulates scenarios when embedders like Safari run threads not created by
WTF that call into JSC/WebKit code which can use currentThread(), or  DRT
running with '--threaded', to name a couple.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list