[concurrency-interest] Atomicity of clearing of WeakReferences
crazybob at crazybob.org
Wed Jul 15 02:38:42 EDT 2009
2009/7/15 Karnok Dávid <karnok at sztaki.hu>
> Is there a reason the Reference sublcasses are not final? I think if
> there are only limited number of reference types, why not have them
> individually and have Reference<T> as a superinterface?
If you need to clean up after the referent, you don't have the object around
anymore, so you store any state necessary for the cleanup in the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest