1978 called, wants its garbage collectors back
Posted Sep 4, 2008 16:36 UTC (Thu) by rwmj
In reply to: 1978 called, wants its garbage collectors back
Parent article: The Kernel Hacker's Bookshelf: UNIX Internals
It is deterministic, uses very small slices per iteration [...]
But is it? Is there not a case where you're freeing up blocks "deterministically" and
then the block you just freed happens to complete a large hole and kfree/free suddenly
goes off and does a lot of work to update its internal structures? (Or
the corresponding case when allocating).
These costs are often minimized
by proponents of manual allocation. There's a rather well-known
about this which goes into the subject in a lot of detail, and comes
to some mixed conclusions. (Mind you, the benefit of GC is it
massively simplifies programming and removes a huge source
of error, which they don't take into account).
to post comments)