NEW 206663
[JSC] reduce memory use of class fields feature
https://bugs.webkit.org/show_bug.cgi?id=206663
Summary [JSC] reduce memory use of class fields feature
Caitlin Potter (:caitp)
Reported 2020-01-23 07:42:58 PST
Currently PrivateNames are tracked in 2 places in SymbolTables --- One in the ordinary symbol hash, and also separately in a list specifically for PrivateNames. This is used to provide DirectEval with information it needs regarding valid PrivateNames, however currently this is done whether an eval is known to occur or not. The information could potentially be useful for other things, like Web Inspector diagnostics, and such. We should investigate how worthwhile it is to have a separate hashset for this, as opposed to collecting private symbols from the main hash instead.
Attachments
Note You need to log in before you can comment on or make changes to this bug.