Chapter 3. Tuning Large-Scale Java Platforms

There are two main garbage collection (GC) policies: throughput/parallel GC and concurrent mark sweep (CMS). Discussion of others is omitted because they do not currently apply to latency-sensitive workloads such as those found in category 2 and 3.

NOTE

When tuning category 2 or any response-time sensitive/latency-sensitive Java platforms, using the combination of throughput/parallel GC in young generation and CMS in old generation often yields the most prudent memory throughput and response-time combination.

The throughput/parallel GC policy is called the throughput GC because it focuses on improved memory throughput as opposed to better response time. It is also synonymously called the parallel ...

Get Virtualizing and Tuning Large-Scale Java Platforms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.