SREcon19 Asia/Pacific - Tuning Java's G1 Garbage Collector for Realtime Services

preview_player
Показать описание
Andi Chalfant, Facebook, Inc

Java's G1 Garbage Collector is here, and will be replacing Concurrent Mark and Sweep as the new default for JDK10 and later. The G1 collector is a pure stop-the-world collector, and for services with hard and fast latency constraints the premise of a pure stop the world collector can seem daunting. Understanding how the collector works and being able to measure your service workload are crucial to effectively tuning the G1 collector. With the right settings, the G1 collector can work effectively for realtime applications, even on very large heaps. This talk discusses how the G1 collector works, measuring G1's performance, and tuning ergonomics with a focus on latency sensitive services.

Рекомендации по теме