Selecting and properly tuning your Java Garbage Collector can be the difference between a performant application and a drag. In this eMag we look at the inner workings of the latest garbage collectors and we investigate the revolutionary new Garbage First collector, from theory to tuning.
Free download
Contents of the Java Performance eMag include:
- Visualizing Java Garbage Collection Ben Evans discusses garbage collection in Java along with some tooling for understanding and visualizing how it works.
- G1: One Garbage Collector To Rule Them All Oracle's new G1 Collector in HotSpot moves away from the conventional GC model, where a Java heap splits into (contiguous) young and old generations, and instead introduces the concept of “regions”, for a generally more performant and manageable GC.
- Tips for Tuning the Garbage First Garbage Collector In this second installment, Monica delves into more practical aspects and provides guidance for tuning.
- Java Garbage Collection Distilled CMS, G1, Young Gen, New Gen, Old Gen, Eden, and the hundreds of JVM start-up flags... does this all baffle you when trying to tune the garbage collector to get the required throughput and latency from your Java application? Don’t worry, you are not alone. This article will attempt to explain the tradeoffs when choosing and tuning garbage collection algorithms for a particular workload.
About InfoQ eMags
InfoQ eMags are professionally designed, downloadable collections of popular InfoQ content - articles, interviews, presentations, and research-covering the latest software development technologies, trends, and topics.