Chapter 13 Garbage Collector
- 13.1 The Basic Idea of Garbage Collection
- 13.2 Write Barrier Techniques
- 13.3 Trigger Frequency and the Pacing Algorithm
- 13.4 Scan Marking and Mark Assist
- 13.5 Sweeping and Bitmaps
- 13.6 The Mark Termination Phase
- 13.7 Safe Point Analysis
- 13.8 The Generational Hypothesis and Generational Collection
- 13.9 The Request Hypothesis and Transaction-Oriented Collection
- 13.10 Finalizers
- 13.11 Past, Present, and Future
- 13.12 A Unified Theory of Garbage Collection
When is the best time to do a GC? When nobody is looking. Using camera
to track eye movement when subject looks away do a GC.
-- Richard Hudson
Garbage collection is a rather difficult and intricate piece of systems engineering.