Removal of WeakMap/WeakSet clear
C. Scott Ananian
ecmascript at cscott.net
Thu Dec 4 10:23:09 PST 2014
On Thu, Dec 4, 2014 at 9:25 AM, Katelyn Gadd <kg at luminance.org> wrote:
> The only way I can imagine to solve
> this is to make really aggressive use of type information gathering
> and/or bailouts in the runtime to identify every type used as a
> weakmap key - at which point I suppose you would have to convert their
> memory layout on the heap in order to ensure consistency, or support
> two different memory layouts for the same type.
Yup, this is how it's done.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss