On 12/2/13 4:27 PM, Bobby Holley wrote: > Moreover, it sounds like revocable proxies can be used by libraries to > achieve the same effects with respect to memory leaks, no?
Andrew's response is spot-on, but I still think this is a good point. Revocable proxies are a deterministic feature that we're adding anyway that can address X% of leaks. WeakRefs would be a nondeterministic feature, which even experts can't reason about correctly in my experience; suppose it can address Y% of leaks. I don't buy that Y >> X. -j _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals