Serial Collector - "+XX:+UseSerialGC"

This chapter provides tutorial notes and example codes on the Serial Collector specified by the '+XX:+UseSerialGC' JVM option. Topics include introduction to Serial Collector; GC log message format and examples; NewRatio and SurvivorRatio.

What Is Serial Collector

GC Log Message Format for Serial Collector

GC Log Message Examples of Serial Collector

Log Message Types from Serial Collector

Serial Collector Stops Application for Minor/Major GC

Usage Report on Heap Memory Areas

Default NewRatio - Old vs. New Generation

"-XX:NewRatio" - Ratio of Tenured and "new" Generation

"-XX:SurvivorRatio" - Ratio of Eden and Survivor Space

Serial GC Tracing - Tight Heap

Serial GC Tracing - Plenty of Heap

Serial GC Tracing - Aged Live Objects

Serial GC Tracing - Tenuring Threshold

"-XX:TargetSurvivorRatio" - Second Tenuring Condition

Serial GC Tracing - Tenuring Threshold Controlled

"-XX:+NeverTenure" and "-XX:+AlwaysTenure" not Working

Minor GC Triggering Condition of Serial Collector


Table of Contents

 About This Book

 Heap Memory Area and Size Control

 JVM Garbage Collection Logging

 Introduction of Garbage Collectors

Serial Collector - "+XX:+UseSerialGC"

 Parallel Collector - "+XX:+UseParallelGC"

 Concurrent Mark-Sweep (CMS) Collector - "+XX:+UseConcMarkSweepGC"

 Garbage First (G1) Collector - "+XX:+UseG1GC"

 Object References and Garbage Collection

 Garbage Collection Performance Test Program

 Performance Tests on Serial Collector

 Performance Tests on Parallel collector

 Performance Tests on Concurrent collector

 Performance Tests on G1 collector

 Garbage Collection Performance Test Summary

 Outdated Tutorials


 Full Version in PDF/EPUB