memory safety and weak references

Sam Tobin-Hochstadt samth at ccs.neu.edu
Wed Mar 27 04:52:06 PDT 2013


On Tue, Mar 26, 2013 at 11:44 PM, Oliver Hunt <oliver at apple.com> wrote:
> That said I believe that this does kill any dreams i may have had w.r.t primitive-keyed WeakMaps, kudos to MarkM.

Wouldn't a primitive-keyed WeakMap just be a strong Map for those
keys?  And therefore immune to any GC attacks?

Sam


More information about the es-discuss mailing list