G1 GC vs Z GC

G1 GC remains the safe default for most workloads. It balances throughput and low pause times using region-based collection with concurrent…