A Brief History Of Garbage Collection
By Brian Goetz2004-01-22
Resources
• Read the complete Java theory and practice series by Brian Goetz.
• Garbage Collection: Algorithms for Automatic Dynamic Memory Management (John Wiley & Sons, 1997) is a comprehensive survey of garbage collection algorithms, with an extensive bibliography. The author, Richard Jones, maintains an updated bibliography of nearly 2000 papers on garbage collection on his Garbage Collection Page.
• The IBM 1.4 Developer Kits for the Java platform use a mark-sweep-compact collector, which supports incremental compaction to reduce pause times.
• The three-part series "Sensible sanitation -- Understanding the IBM Java Garbage Collector" (developerWorks, August - September 2002) describes the garbage collection strategy employed by the IBM 1.2 and 1.3 Developer Kits for the Java platform.
• "Fine-tuning Java garbage collection performance" (developerWorks, January 2003) describes how to detect and troubleshoot garbage collection issues.
• This article from IBM Systems Journal describes some of the lessons learned in building the IBM 1.1.x Developer Kits for the Java platform, including the details of mark-sweep and mark-sweep-compact garbage collection.
• The Garbage Collection mailing list maintains a garbage collection FAQ.
• Check out this two-part series on the pros, cons, and hows of garbage collection.
• The Boost library, a library of very useful C++ classes, includes the shared_ptr smart pointer class that demonstrates the use of reference counting to provide a rudimentary form of garbage collection in C++.
• You'll find hundreds of articles about every aspect of Java programming in the developerWorks Java technology zone.
Tutorial Pages:
» A brief history of garbage collection
» Options - And Choices
» How does garbage collection work?
» The basic algorithms
» Resources
First published by IBM developerWorks
