What is the Z Garbage Collector (ZGC) and its primary use case?
ZGC is a garbage collector that uses parallelism to achieve better throughput for multi-threaded applications.
Thatâ€™s partially correct. ZGC focuses on low-latency, not just throughput. Its goal is to minimize pause times, even with large heaps.
Can you explain how ZGC minimizes pauses during collection, especially during the `Relocation` phase?