ZGC excels with ultra-large heaps up to 16 TB, maintaining sub-millisecond pauses, making it ideal for massive ML models. Shenandoah offers a strong balance of low latency and throughput for medium to large heaps (2-10 TB), potentially outperforming ZGC in throughput for some workloads, though ZGC generally has higher memory overhead.