Java Platform, Standard Edition HotSpot Virtual Machine Garbage Collection Tuning Guide
Next
Contents
Title and Copyright Information
Preface
1 Introduction
2 Ergonomics
- Garbage Collector, Heap, and Runtime Compiler Default Selections
- Behavior-Based Tuning
- Tuning Strategy
3 Generations
4 Sizing the Generations
5 Available Collectors
6 The Parallel Collector
7 The Mostly Concurrent Collectors
8 Concurrent Mark Sweep (CMS) Collector
- Concurrent Mode Failure
- Excessive GC Time and OutOfMemoryError
- Floating Garbage
- Pauses
- Concurrent Phases
- Starting a Concurrent Collection Cycle
- Scheduling Pauses
- Incremental Mode
- Measurements
9 Garbage-First Garbage Collector
- Allocation (Evacuation) Failure
- Floating Garbage
- Pauses
- Card Tables and Concurrent Phases
- Starting a Concurrent Collection Cycle
- Pause Time Goal
10 Garbage-First Garbage Collector Tuning
- Garbage Collection Phases
- Young Garbage Collections
- Mixed Garbage Collections
- Phases of the Marking Cycle
- Important Defaults
- How to Unlock Experimental VM Flags
- Recommendations
- Overflow and Exhausted Log Messages
- Humongous Objects and Humongous Allocations
11 Other Considerations
- Finalization and Weak, Soft, and Phantom References
- Explicit Garbage Collection
- Soft References
- Class Metadata