On Tue, Jan 21, 2014 at 8:19 PM, Bill McCloskey <[email protected]> wrote: > We do have static atoms for all those strings, but we don't atomize on every > path that creates a string. If you can find the path where these strings are > created, we might be able to atomize there.
I think they're coming from js_NewScript(). The interesting thing about that function is that it returns a JSStableString, which means it can't return a non-static inline string, which is what all the other js_NewScript*() functions do. I don't know much about JSStableString, but I imagine that a static inline string would be acceptable -- the chars certainly won't move -- assuming the types can be made to co-operate. Nick _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

