The managed resource API
Posted Feb 25, 2007 12:13 UTC (Sun) by
liljencrantz (subscriber, #28458)
In reply to:
The managed resource API by flewellyn
Parent article:
The managed resource API
I disagree. A garbage collector is a 'Fire and forget' memory allocation strategy. What is described here is a memory allocator that groups together allocations so that you can tell the system "when this piece of memory here is recycled, then these pieces over here are no longer needed either". That is sometimes exteremely useful, since it turns out that allocation time is often a time when you have pretty detailed knowledge of when something will die.
(
Log in to post comments)