LWN.net Logo

1978 called, wants its garbage collectors back

1978 called, wants its garbage collectors back

Posted Sep 4, 2008 17:10 UTC (Thu) by vaurora (subscriber, #38407)
In reply to: 1978 called, wants its garbage collectors back by rwmj
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 collection’s 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.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds