ZGC는 11 버전 Preview로 추가되었으며, 15에서 Production Ready 상태가 되었으며, 자바 16부터 기본으로 설정된 GC 이다.
GC pause times should not exceed 10ms GC 정지 시간이 10ms를 초과하지 않아야 한다.
Handle heaps ranging from relatively small (a few hundreds of megabytes) to very large (many terabytes) in size 비교적 작은(수백 MB) 크기에서 매우 큰(수 TB) 사이즈의 heap을 다룰 수 있어야 한다.
No more than 15% application throughput reduction compared to using G1 G1 보다 애플리케이션 처리량이 15% 이상 떨어지지 않을 것.
Lay a foundation for future GC features and optimizations leveraging colored pointers and load barriers colored pointers, load barriers를 사용하여 미래의 GC를 위한 기능/최적화 기반을 마련한다.
Initially supported platform: Linux/x64
최초 지원 플랫폼은 Linux/x64
즉 ZGC는 대량의 메모리를 최대한 효울적으로 사용하기 위해 만들어 졌다.
아래는 오라클에서 발표한 GC 알고리즘의 테스트 결과 들이다. (대용량 힙메모리에 맞춰 설계된 알고리즘이다보니, 적은 힙 메모리 환경에서 테스트 한 결과는 없는듯 하다.)



ZGC의 핵심은 Colored pointers와 Load barriers라는 두 알고리즘이다.