> Markdown version of [/events/world-congress-2026-europe/sessions/1365-swapping-code-losing](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1365-swapping-code-losing). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Swapping Code, Losing Memory: A JVM Deep Dive - **Date:** Friday, Jul 10, 2026 - **Time:** 15:00–15:30 (30 min) - **Room:** Stage 8 - powered by Red Hat - **Event:** World Congress 2026 Europe ## Recording [Watch recording](https://www.wearedevelopers.com/videos/100321-swapping-code-losing-memory-a-jvm-deep-dive) ## Description 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. ## Speaker ### [Marco Sussitz](https://www.wearedevelopers.com/@marco-sussitz) Senior Software Developer at Dynatrace ## Related talks at this congress - [How does a Java agent work? Building a Java agent from scratch.](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/963-how-does-a-java) — Marco Sussitz - [Go with the Flow: Stop the Leaks Before Your Memory's a Waterfall!](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1078-go-with-the-flow) — Manfred Bjørlin - [Java Sucks (So C# Didn't Have To)](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1305-java-sucks-so-c-didn) — Adele Carpenter - [Native Speed, Java Comfort: Calling Rust from the JVM with Project Panama](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1379-native-speed-java) — Gonzalo Ortiz Jaureguizar