thepointman.dev_

Courses / JVM & Runtime

Garbage Collection

advanced12 lessons

Every GC algorithm Java has ever shipped: Serial, Parallel, CMS, G1, ZGC, Shenandoah. Mark/Sweep/Compact from first principles, the generational hypothesis, remembered sets, load barriers, and how to tune each collector for your workload.

// Lessons

  1. 01

    GC from First Principles — The Reachability Problem

    soon
  2. 02

    Mark, Sweep and Compact — The Three Phases

    soon
  3. 03

    The Generational Hypothesis — Why Generations Exist

    soon
  4. 04

    Serial GC — Single-Threaded Collection for Small Heaps

    soon
  5. 05

    Parallel GC — Multi-Threaded Stop-the-World for Throughput

    soon
  6. 06

    CMS — Concurrent Mark Sweep (The History That Shaped G1)

    soon
  7. 07

    G1GC — Regions, Remembered Sets and Concurrent Marking

    soon
  8. 08

    G1GC — Mixed Collections, Humongous Objects and Evacuation Failure

    soon
  9. 09

    ZGC — Load Barriers, Colored Pointers and Concurrent Relocation

    soon
  10. 10

    Shenandoah — Brooks Pointers and Concurrent Compaction

    soon
  11. 11

    GC Tuning — Reading Logs, JVM Flags and Pause Optimization

    soon
  12. 12

    Diagnosing GC Problems — Allocation Storms, Promotion Failure, Full GC

    soon