Rioshin an'Harthen wrote:
"Leandro Lucarella" <llu...@gmail.com> kirjoitti viestissä news:20090411030416.ga22...@homero.springfield.home...
BTW, is there any real interest in adding some more power to the GC
implementator to allow some kind of moving or generational collector?

What I mostly want/need from the GC would be determinism. I want to be able to call delete on a subobject in the destructor of the object being deleted.

How many times have I stumbled on this already?

Actually, this isn't needed:
- if you want to manually free an object, you can add an extra destroy() method - when the object is garbage collected, there's no point in deleting referenced objects, because these are either still alive, or get collected as well

Reply via email to