3 ms·
This document uses a bunch of jargon that I couldn't find good explanations/definitions for. Is there a good GC survey out there? If I wanted to write a modern
by snprbob86 14y ago
This document uses a bunch of jargon that I couldn't find good explanations/definitions for. Is there a good GC survey out there? If I wanted to write a modern GC and knew nothing about it, where would I look to get started? What should I read to get up to speed?
- cjensen 14y ago"Garbage Collection: Algorithms for Automatic Dynamic Memory Management" by Richard Jones and Rafael D Lins. Very readable and approachable. I read the entire book, which I almost never do with technical books.
- snprbob86 14y agoThanks. I'll add it to the queue :-)
- me2i81 14y agoThere's a newer book (2011), "The Garbage Collection Handbook: The Art of Automatic Memory Management" by Richard Jones, Antony Hoskins and Eliot Moss. I haven't read the new one, but it seems to cover a lot of the recent activity around Java GC.
- cwzwarich 14y agoThe recent followup "The Garbage Collection Handbook: The Art of Automatic Memory Management" is much more up-to-date, but it has a bit less coverage of the more elementary techniques.
- silentbicycle 14y agoWilson's "Uniprocessor Garbage Collection Techniques" (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.47.2438 http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.47.2...) is what you want: an excellent survey paper of fundamental garbage collector designs. I highly recommend the Jones/Hosking/Moss book, but it assumes familiarity with the basics. Pick it up if the Wilson paper intrigues you. The previous edition of the book (Jones & Lins) is good, too, but the new one adds a lot of important material on real-time GC, concurrent GC, and interactions between GC and runtime systems.