[Webkit-unassigned] [Bug 206791] New: Move singleton Intl string locales out of JSGlobalObject.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 24 18:53:55 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206791
Bug ID: 206791
Summary: Move singleton Intl string locales out of
JSGlobalObject.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
We're creating an instance of these for each JSGlobalObject when they can be a global singleton since they are always initialized with the same intl data (barring a mid-flight change in intl settings, which we don't support even in the existing code).
Also fix a bug in StringImpl::createStaticStringImpl(): I forgot to set its hash value when I introduced it. StaticStringImpls require that its hash code be set ahead of time, and cannot be mutated at runtime.
--
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/20200125/20a6b3b2/attachment-0001.htm>
More information about the webkit-unassigned
mailing list