Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the cutting-edge Garbage Collectors ZGC and ShenandoahGC introduced in Java 11/12 in this informative 47-minute conference talk. Delve into the primary objective of these new GCs: reducing GC pauses to mere milliseconds, effectively addressing the longstanding GC pause problem. Learn how to enable and configure ZGC and ShenandoahGC, and gain insights into their performance characteristics. Discover the inner workings of ZGC, including colored pointers, virtual memory management, load GC barriers, and atomic operations. Examine the various phases of the garbage collection process, such as remap and relocation, and understand the ZGC algorithm. Then, shift focus to ShenandoahGC, exploring its load barriers and distinct phases. This comprehensive presentation equips Java developers with essential knowledge to leverage these advanced garbage collection techniques for improved application performance.
Syllabus
Intro
The Problem
ZGC
Colored pointers
Virtual memory
Load GC barrier
Atomic operation
Garbage collector phases
Remap
Relocation
ZGC Algorithm
Shenandoah
Load Barriers
Shenandoah Phases
Taught by
Devoxx