Why it matters
GC dominates p99 in HBase. Understanding options shapes latency.
Advertisement
The architecture
G1GC: default in Java 17+. Good throughput, some pauses.
ZGC: sub-ms pauses, more CPU.
Advertisement
How it works end to end
G1 tuning: pause target, region size, concurrent gc threads.
ZGC: available Java 11+; production Java 15+. Reduces pauses at CPU cost.
Shenandoah: similar goals as ZGC. Red Hat backed.