Overview of JVM Young Generation Garbage Collectors
The Young Generation uses collectors primarily based on the copying algorithm. Available options include:
- Serial: Single-threaded, Stop-The-World (STW). Simple and practical; often paired with Serial Old.
- ParNew: Multi-threaded version of Serial, STW. Often paired with CMS.
- Parallel Scavenge: Multi-threaded, STW. Focused on maximizing throughput; often paired with Parallel Old.