[Webkit-unassigned] [Bug 174151] New: [WTF] Do not allocate storage when registering static string to AtomicStringTable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 4 22:18:09 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174151
Bug ID: 174151
Summary: [WTF] Do not allocate storage when registering static
string to AtomicStringTable
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
Static strings can be shared among multiple threads. Thus, we cannot register static StringImpl (StringImpl::isStatic() => true) to AtomicStringTable.
When registering it, we newly allocate a StringImpl and register it to the table.
Currently, everytime we register it, we allocate a new storage for underlying string. That is not good.
We should create such a AtomicStringImpl owning original static string.
--
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/20170705/cb8363a0/attachment.html>
More information about the webkit-unassigned
mailing list