Garbage Collection / Runtime
4 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.1 GChistorical
Historical notes on automatic heap-memory reclamation, reference counting, reachability analysis, mark-sweep, mark-compact, copying, and generational GC.
- 1.2 STWhistorical
Historical notes on what STW is, why it happens during GC, and the question of how to reduce it.
- 1.3 Memory Leakhistorical
Historical notes on memory leaks, why GC cannot reclaim memory still referenced by root objects, and several common causes.
- 2.1 GC Tuninghistorical
Historical notes on GC tuning goals, observing GC behavior, and tuning parameters or code.