1978 called, wants its garbage collectors back
Posted Sep 4, 2008 17:10 UTC (Thu) by vaurora
In reply to: 1978 called, wants its garbage collectors back
Parent article: The Kernel Hacker's Bookshelf: UNIX Internals
Your description made me curious so I skimmed the paper. I wouldn't describe this as a "mixed conclusion":
When garbage collection has five times as much memory
as required, its runtime performance matches or slightly exceeds
that of explicit memory management. However, garbage collections performance degrades substantially when it must use smaller
heaps. With three times as much memory, it runs 17% slower on
average, and with twice as much memory, it runs 70% slower.
I'm afraid five times the memory consumption is not an option for the kernel. Your point about removing a source of programming error is well taken, but more applicable to random user space widgets.
to post comments)