Java 8 GC Tutorials - Herong's Tutorial Examples - v1.03, by Dr. Herong Yang
Performance Tests on Serial Collector
This chapter provides tutorial notes and example codes on performance impact of Serial collector, Topics include heap footprint; GC logging impact; wait time impact; heap size impact; running minor GC only, running more major GC.
These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.
Serial GC Footprint - Free Heap 4%
GC Logging Impact on Serial GC
Heap Size Impact on Serial GC
Serial GC on 400MB Heap
Serial GC on 800MB Heap
Serial GC on 1600MB Heap
Performance of Serial Minor GC
Object Size Impact on Serial Minor GC
Chunk Size Impact on Serial Minor GC
Performance of Serial Major GC
Object Size Impact on Serial Major GC
Performance Summary of Serial Collector
Takeaways:
Table of Contents
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