垃圾回收
Java · 6 notes
- Garbage Collection Conceptshistorical
Object reclamation can use approaches such as reference counting or reachability. These notes begin with counters and examine circular-reference problems.
- Garbage Collection Algorithmshistorical
Garbage collection identifies reachable objects and handles those no longer used. These notes organize algorithms around marking and reclamation.
- 7.10 3. Garbage Collectorshistorical
Objects have different lifetimes, motivating generational memory organization and collection. These notes compare collectors through young- and old-generation characteristics.
- 7.13 4. Selecting a Specific Garbage Collector with JVM Parametershistorical
JVM startup options select garbage collectors. These notes record collector combinations for young and old generations and their corresponding flags.
- Garbage Collectionhistorical
JVM garbage collection can be studied through its concepts, algorithms, collectors, and selection flags. This page links those topics.
- 7.17 Referenceshistorical
Java references have different strengths that affect whether an object can be reclaimed. These notes compare them through examples, starting with strong references.