Isn’t that a general problem with weak references, though (one that they’d have 
to solve)? Does Java have that problem, too? But they do have finalizers.

I’d also expect the map management data to be tricky to manage with weak 
references.

On May 21, 2012, at 16:42 , Allen Wirfs-Brock wrote:

> The "weak reference" semantics needs to apply to the entire collection in 
> order to avoid key/value circularity induced leaks
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
> 

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to