Java Language & PlatformJava Language & Platform
Conference50min
BEGINNER

G1, ZGC, Shenandoah, ... with all these GCs in Java, which one do I choose?

This talk explains why Java has multiple garbage collectors, what ZGC, Shenandoah, and others do, and their strengths and weaknesses. It traces GC history, compares alternatives, and shows when to use each one for the right project, application, or environment.

talk.summaryAiDisclaimer

Antoine DESSAIGNE
Antoine DESSAIGNEAxway

talkDetail.whenAndWhere

Wednesday, October 7, 14:00-14:50
TBA 8
talks.roomOccupancytalks.noOccupancyInfo
talks.description
It feels like with every new Java release, there are more and more Garbage Collectors (GCs) coming with more and more options. We hear cryptic phrases like: "Oh, awesome, ZGC became generational while Shenandoah isn't" or "Did you heard how Netflix reduced their tail latencies with ZGC?"

Naturally, it leaves us with a ton of questions:
  • What on earth are they talking about?
  • What exactly is ZGC?
  • If this ZGC is so magical, why are there even other GCs left in Java anyway?
  • Why do we only ever talk about different GCs for Java, but never for Go or JavaScript? Can the Java folks make up their minds and pick one?
  • And what about native? Do we even need a GC there?

Whether you are a Java developer or just plain curious, everyone is welcome! We will trace the journey from the creation of Java all the way to the present day to understand why we need a GC and why it isn't a solved problem. We will also take a tour of the various GCs, their evolutions, their strengths, and their weaknesses. (Spoiler alert: ZGC is not the one GC to rule them all).

By the end of this talk, you will know exactly when to use which GC so you can find the perfect fit for every project, every application, and every environment.
garbage collection
zgc
java
shenandoah
talks.speakers
Antoine DESSAIGNE

Antoine DESSAIGNE

Axway

France

A Java developer with over 20 years of experience, Antoine has been a key part of Axway since 2012.

He dedicated 13 years to their Analytics software, evolving from developer to software architect while maintaining a hands-on development role. His final five years on the project were focused on performance optimization, cloud migration, and security.

Antoine is passionate about open source and reports bugs to community-driven projects. He is always eager to migrate to the latest JDK and introduce new features to his team.

Today, he is leveraging his expertise to build an AI Gateway solution, tackling complex code, and mentoring others.