Gerrit Grunwald
Trash Talk - Exploring the memory management in the JVM
#1about 2 minutes
Why JVM memory management and structure matter
Understanding the JVM's automatic memory management and its structure, including the stack and heap, is crucial for application performance and responsiveness.
#2about 1 minute
How objects become garbage through reachability
An object becomes garbage and eligible for collection only when it is no longer reachable from any stack frame, including references held within other collections.
#3about 5 minutes
Understanding stop-the-world pauses and non-moving collectors
Garbage collection often requires stop-the-world pauses, and basic non-moving collectors like Mark and Sweep can lead to heap fragmentation over time.
#4about 7 minutes
Solving fragmentation with moving and generational collectors
Moving collectors like Mark-Compact and Copy, along with generational collection strategies, combat heap fragmentation and optimize for short-lived objects.
#5about 5 minutes
A tour of classic JVM garbage collectors
An overview of classic collectors including the single-threaded Serial, multi-threaded Parallel (throughput), and the now-deprecated Concurrent Mark Sweep (CMS).
#6about 3 minutes
Understanding the modern G1 garbage-first collector
The G1 collector is the default in modern JVMs, using a region-based approach to provide predictable pause times by focusing on areas with the most garbage.
#7about 3 minutes
Exploring low-latency and specialized collectors
Specialized collectors like Epsilon (no-op), Shenandoah, and ZGC are designed for specific use cases like ultra-low latency or massive heaps, often at the cost of throughput.
#8about 2 minutes
How ZGC achieves concurrency with colored pointers
Fully concurrent collectors like ZGC use techniques such as colored pointers and loaded value barriers to move objects and update references without long stop-the-world pauses.
#9about 1 minute
How to choose the right garbage collector
Selecting a garbage collector involves balancing the trade-offs between application throughput, latency from pause times, and overall resource consumption.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Amazon Web Services (AWS)
+1
Matching moments
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
05:17 MIN
Shifting from traditional CVs to skill-based talent management
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
06:10 MIN
Understanding global differences in work culture and motivation
The Future of HR Lies in AND – Not in OR
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
04:38 MIN
Differentiating between management and true leadership skills
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
Featured Partners
Related Videos
Modern Java 25
Ron Veen
Modern Java: This is not your father's Java anymore
Ron Veen
Turbocharged: Writing High-Performance C# and .NET Code
Steve Gordon
Guided Memory Management: Rust's Ownership Model
Stefan Baumgartner
In-Memory Computing - The Big Picture
Markus Kett
High performance Serverless Java on AWS
Vadym Kazulkin
An (In-)Complete Guide to C++ Object Lifetimes
Jonathan Müller
Debugging Unveiled: Exploring Debugger Internals and Hidden Gems
Johannes Bechberger
Related Articles
View all articles


.gif?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.

Forschungszentrum Jülich GmbH
Jülich, Germany
Intermediate
Senior
Linux
Docker
AI Frameworks
Machine Learning

SMG Swiss Marketplace Group
Canton de Valbonne, France
Senior


Grafton Deutschland GmbH
Düsseldorf, Germany
GIT
Java
REST
JUnit
React
+3

GFR Technologies SE
Municipality of Madrid, Spain
Remote
Intermediate
API
Java
Tomcat
Microservices
+1

Grafton Deutschland GmbH
Frankfurt am Main, Germany
Java
React


