JavaJava
Conference50min
INTERMEDIATE

Garbage Collection in Java: Choosing the Correct Collector

Garbage collection (GC) is a type of automatic memory management and a key feature of the Java platform. It allows developers to focus on their application logic rather than low-level memory management issues.

The Java platform implements multiple garbage collection algorithms, making it suitable for handling all kinds of workloads. The default collector, G1, is often a great choice, but depending on your use case, another GC might provide even better performance. This talk will explore:

  • the basics of garbage collection
  • why there are multiple collectors
  • key characteristics of G1 and ZGC
  • the performance differences between collectors and JDK releases

Stefan Johansson
Stefan JohanssonOracle

talkDetail.whenAndWhere

Thursday, October 9, 16:30-17:20
Room 10
talks.description
Garbage collection (GC) is a type of automatic memory management and a key feature of the Java platform. It allows developers to focus on their application logic rather than low-level memory management issues.

The Java platform implements multiple garbage collection algorithms, making it suitable for handling all kinds of workloads. The default collector, G1, is often a great choice, but depending on your use case, another GC might provide even better performance. This talk will explore:
  • the basics of garbage collection
  • why there are multiple collectors
  • key characteristics of G1 and ZGC
  • the performance differences between collectors and JDK releases
garbage
algorithms
performance
collection
talks.speakers
Stefan Johansson

Stefan Johansson

Oracle

Sweden

Stefan is a software engineer in Oracle's HotSpot GC team, where he has been a key contributor since joining in 2013. With a strong focus on the G1 and ZGC garbage collectors, Stefan has been actively involved in the OpenJDK community throughout his career. Before diving into garbage collection, he worked on a variety of other JVM-related projects at Oracle, building a deep expertise in Java performance and memory management.
talk.infographic.title
Garbage Collection in Java: Choosing the Correct Collector infographic
talk.infographic.aiDisclaimer
comments.title

comments.speakerNotEnabledComments