[Webkit-unassigned] [Bug 27759] New: [V8] DOMData needs AtomicallyInitializedStatic
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 28 01:38:16 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27759
Summary: [V8] DOMData needs AtomicallyInitializedStatic
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: abarth at webkit.org
CC: levin at chromium.org
> +
> +DOMData* DOMData::getCurrent()
> +{
> + if (WTF::isMainThread())
> + return getCurrentMainThread();
> +
> + DEFINE_STATIC_LOCAL(WTF::ThreadSpecific<ChildThreadDOMData>, childThreadDOMData, ());
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