Le 03/08/2012 17:08, Sam Tobin-Hochstadt a écrit :
On Fri, Aug 3, 2012 at 5:03 PM, David Bruant <[email protected]> wrote:
With the current design, there is no way to cut the access to the target and
enable its garbage collection because the target is an internal property of
the proxy. It means that malicious or buggy code keeping a reference to the
proxy keeps a reference to the target.
Can't this be implemented using Tom & Mark's shadow target technique,
What do you call the shadow target technique? Can it be implemented with
direct proxies?
plus explicit nulling of portions of the shadow target (since that is
kept alive by the proxy)?
nulling is not possible on frozen objects. So partially yes, it depends
on the cases for that part.
David
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss