Intro
Again learning about Garbage collection, I found about ZGC collector. A quite interesting concurrent region-based collector that aims for 10ms or less pause times.
ZGC
Experimental with JDK 11. The Oracle developers video.
Goals
The aim is to keep it easy to tune.
Multi-terabyte heaps
15% throughput reduction
10ms pause time
>> Pause times do not increase with heap or live-set size
>> Pause times do increase with root-set size
Enabling THP
For use THP on ZGC, we must enable using -XX:+UseTransparentHugePages