This chapter provides tutorial notes and example codes on garbage collection. Topics include garbage collection test program - GCTest.java; comparisons between JDK 1.6.0, JDK 1.4.0 and JDK 1.3.1; comparisons between HotSpot Server VM and HotSpot Client VM.