Skip to content
Discussion options

You must be logged in to vote

G1 Garbage Collector → balanced, predictable pauses, default in modern JVMs
Z Garbage Collector → ultra-low pause (<10ms), great for large heaps
Shenandoah GC → concurrent compaction, very low pauses
Parallel GC → high throughput, but longer pauses
TL;DR:
General use → G1
Lowest latency → ZGC / Shenandoah
Max throughput → Parallel GC

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant