[Webkit-unassigned] [Bug 144347] New: Use the default hash value for Symbolized StringImpl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 28 12:40:06 PDT 2015


            Bug ID: 144347
           Summary: Use the default hash value for Symbolized StringImpl
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

Currently, symbolized StringImpl* has a special hash value to avoid the hash collision with the other normal StringImpl*. (Maybe it is introduced when private symbols are introduced)
However, it prevents using symbolized StringImpl* in the other place (such as using it as WTFString cause a problem because of its special hash value).

I think this situation leads a serious error easily.
To avoid this, I propose using the usual hash value in symbolized StringImpl*.
And if collision is a problem, I suggest introducing a special Hasher for PropertyTable.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150428/5c965765/attachment.html>

More information about the webkit-unassigned mailing list