Java 8 GC Tutorials - Herong's Tutorial Examples - v1.02, by Dr. Herong Yang
Outdated Tutorials
This chapter contains some outdated tutorial notes and example codes from previous versions of this book.
Outdated: GCTest2.java - Garbage Collection Test Program
Outdated: 640/400/40MB Test on HotSpot Client 1.7
Outdated: 640/400/40MB Test on HotSpot Client 1.6
Outdated: 640/400/40MB Test on JRockit 28.2
Outdated: 441/400/40MB Test on JRockit 28.2
Outdated: 1076/800/80MB Test on HotSpot Client 1.7
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