[Webkit-unassigned] [Bug 27759] [V8] DOMData needs AtomicallyInitializedStatic

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 01:53:01 PDT 2009


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





--- Comment #2 from David Levin <levin at chromium.org>  2009-07-28 01:53:00 PDT ---
This one too:

> Index: WebCore/bindings/v8/DOMData.h
> +WTF::Mutex& DOMDataStore::allStoresMutex()
> +{
> +    DEFINE_STATIC_LOCAL(WTF::Mutex, staticDOMDataListMutex, ());

This looks like it has race conditions.  Please add a comment about why it
isn't or consider switching to using AtomicallyInitializedStatic (from
wtf/Threading.h).

-- 
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