Introduction to ZGC: Scalable and experimental low-latency JVM garbage collector

Click for: original source

Attila Fejér is author of this interesting read about address issue with managing memory for highly available and scalable systems in Java. Java 11 introduced the Z Garbage Collector (ZGC) as an experimental garbage collector (GC) implementation.

Today, it’s not uncommon for applications to serve thousands or even millions of users concurrently. Such applications need enormous amounts of memory. However, managing all that memory may easily impact application performance.

The article then explains:

  • Memory management
  • Garbage collection
  • GC phase properties
  • GC concepts, including
  • * Pointer coloring
  • * Multi-mapping
  • * Load barriers
  • * Marking
  • * Relocation
  • * Remaping

Great article, in which you will discover that ZGC intends to support large heap sizes with low application pause times.

[Read More]

Tags jvm programming java