[webkit-dev] Hash tables and unique string identifiers in JavaScriptCore

Stephen Lin swlin at post.harvard.edu
Wed Sep 19 14:27:52 PDT 2012


On Wed, Sep 19, 2012 at 1:32 AM, Geoffrey Garen <ggaren at apple.com> wrote:

> > Thanks! So is PropertyMapHashTable for properties that have been defined
> by the user, or is it not that simple?
>
> Yes.
>
> > Apologies. Basically, does the implementation of object property access
> in the JIT codebase also use strings which have been made unique
> identifiers in the same way as in the runtime stack? (i.e. can they be
> assumed equal iff they have the same address).
>
> Yes -- typically, though, if the JIT needs to do a hash lookup, it will
> pass an Identifier to a C++ helper function.
>

Thanks! Do you mind pointing me to where this happens in the code? (passing
an Identifer to a C++ helper?)
>
>
> Geoff
>
> Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120919/4434682f/attachment.html>


More information about the webkit-dev mailing list