Andrei Alexandrescu:
> The problem is that many of today's GC are structured in ways that make 
> efficient reclamation of individual block extremely inefficient.

If the GC is conservative it can think some reference to a memory block exists, 
despite it's a false reference, so it can delay even for a lot of time its 
reclamation. A manual delete can be useful to force the release of this memory 
block if the programmer knows no references are present. False pointers are 
present in large memory blocks, that are the memory blocks that you most want 
to free when you don't need them anymore.

Bye,
bearophile

Reply via email to