World Congress 2026 Europe

Swapping Code, Losing Memory: A JVM Deep Dive

July 10, 2026 15:00 – 15:30 · 30 min Stage 8 - powered by Red Hat

What this session covers

You’ve probably seen the option to hot swap code while debugging in your IDE, but have you ever wondered how it actually works under the hood? And more importantly, what could go wrong? While stress testing an application that made heavy use of class reloading, I discovered a surprising issue: we were leaking memory and not just heap memory. This kicked off a deep dive into the internals of the JVM to understand what really happens when a class is reloaded. In this talk, I’ll explain how I investigated the problem, what I learned about class representation in the JVM, and how code hot swapping really works in OpenJDK. You’ll leave with practical insights into debugging class reloading issues and a better understanding of what’s happening behind the scenes when your code changes on the fly.

Related talks at this congress

Open session

World Congress 2026 Europe

July 8, 2026 · 16:00–18:00

Room M4 (40 Seats)

How does a Java agent work? Building a Java agent from scratch.

Marco Sussitz

Senior Software Developer at Dynatrace

Marco Sussitz
Open session

World Congress 2026 Europe

July 9, 2026 · 13:30–14:00

Stage 10 - powered by TikTok

Go with the Flow: Stop the Leaks Before Your Memory's a Waterfall!

Manfred Bjørlin

Principal Cloud Native Architect at Sopra Steria

Manfred Bjørlin
Open session

World Congress 2026 Europe

July 10, 2026 · 13:00–13:30

Stage 1

Java Sucks (So C# Didn't Have To)

Adele Carpenter

Software Engineer at Trifork Amsterdam

Adele Carpenter
Open session

World Congress 2026 Europe

July 10, 2026 · 15:40–16:10

Stage 8 - powered by Red Hat

Native Speed, Java Comfort: Calling Rust from the JVM with Project Panama

Gonzalo Ortiz Jaureguizar

Performance engineer at Startree

Gonzalo Ortiz Jaureguizar
All sessions at this congress