Java's G1 Garbage Collector
The G1 Garbage Collector, Java's default garbage collector, is a fascinating piece of technology with a long history. In this episode of Stack Walker we take a deep dive of the G1 garbage collector to understand it's key architectural features that allow it to meet its performance goals. We will also take a look at how to use G1, and a brief look into G1's future. -- Chapters -- 0:00 Intro 1:42 G1's History 3:15 Limitations of Existing GCs 4:12 G1's Design 4:34 Generational 5:54 Incremental 8:06 remembered Sets 9:45 Write Barriers 11:54 Parallel & Concurrent 17:51 Stop the World & Evacuating 21:16 Using G1 22:25 Tuning G1 23:54 Future of G1 25:03 Conclusions -- Resources -- Thomas Schatzl's Blog ➱ https://tschatzl.github.io/ Concurrent Marking in G1 ➱ https://tschatzl.github.io/2022/08/04... HotSpot VM Tuning Guide ➱ https://docs.oracle.com/en/java/javas... Throughput Barrier Exploration for the Garbage-First Collector ➱ https://ssw.jku.at/Teaching/MasterThe... Garbage-First White Paper ➱ http://cs.williams.edu/~dbarowy/cs334... JEP 423 ➱ https://openjdk.org/jeps/423 Dev.java ➱ https://dev.java Inside.java ➱ https://inside.java Tags: #Java #GC #Performance #OpenJDK #JDK #JVM #InsideJava

Java's Startup Booster: CDS

Garbage Collection (Mark & Sweep) - Computerphile

Garbage Collection in Java: Choosing the Correct Collector

Unfortunately, I Was Right

GC Tuning & Troubleshooting Crash Course | Ram Lakshmanan

G1 Garbage Collector Details and Tuning by Simone Bordet

Adventures with concurrent programming in Java: A quest for predictable latency by Martin Thompson

How Netflix Uses Java - 2026 Edition

Garbage Collection in Java - The progress since JDK 8

How Huawei Just Built an Impossible Chip

Java Serialization: Spooky Action at a Distance

Java's Garbage Collection Explained - How It Saves your Lazy Programmer Butt

Garbage Collection in Java: The Performance Benefits of Upgrading

Trump Breaks Promises of "No Wars" & Inflation, Fox News Questions Iran Peace Claims: A Closer Look

Something is jamming GPS over Europe. Here's what we found

Choose the best Garbage Collector in Java

The AI Take Over Has Completely Backfired and I Can't Be Happier

JVM Anatomy 101

Programmer's Guide to JDK Flight Recorder

