← Back to JavaTypes of Garbage Collectors
Javajava
The Question
What are the different types of garbage collectors in Java?
What a Strong Answer Covers
- Serial = single-threaded stop-the-world
- Parallel = multi-threaded high throughput Java 8 default
- G1 = region-based Java 9 default large heaps
- ZGC = ultra-low latency Java 11
- Shenandoah = concurrent compaction
Related Questions
Practice This Question
Get AI-graded feedback on your answer with follow-up probes on weak points.
Take the Free Assessment