On revoking access to the target of a proxy

Sam Tobin-Hochstadt samth at ccs.neu.edu
Fri Aug 3 14:38:00 PDT 2012

On Fri, Aug 3, 2012 at 5:12 PM, David Bruant <bruant.d at gmail.com> wrote:
> Le 03/08/2012 17:08, Sam Tobin-Hochstadt a écrit :
>> On Fri, Aug 3, 2012 at 5:03 PM, David Bruant <bruant.d at gmail.com> 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?

Yes. See the discussion of `dummyTarget` in Tom and Mark's recent
draft: http://soft.vub.ac.be/Publications/2012/vub-soft-tr-12-03.pdf

sam th
samth at ccs.neu.edu

More information about the es-discuss mailing list