The Z Garbage Collector, also known as ZGC, is a scalable low
latency garbage collector designed to meet the following goals:
Pause times do not exceed 10ms
Pause times do not increase with the heap or live-set size
Handle heaps ranging from a few hundred megabytes to multi
terabytes in size
At a glance, ZGC is:
Concurrent
Region-based
Compacting
NUMA-aware
Using colored pointers
Using load barriers
At its core, ZGC is a concurrent garbage collector, meaning all
heavy lifting work is done while Java threads continue to
execute. This greatly limits the impact garbage collection will
have on your application's response time.