GC [pt 3]



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.


Experimental with JDK  11. The Oracle developers video.


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



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s