1978 called, wants its garbage collectors back
Posted Sep 4, 2008 16:36 UTC (Thu) by
rwmj (subscriber, #5474)
In reply to:
1978 called, wants its garbage collectors back by BrucePerens
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
paper
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).
Rich.
(
Log in to post comments)