Erik Österlund

@eosterlund.bsky.social

OpenJDK HotSpot JVM developer at Oracle. Drinks coffee and pets cats. Opinions expressed are, unsurprisingly, my own.

After working on ZGC for a decade, I’m happy to announce that I’m publishing a book about ZGC in JDK 25. It ships 22 May (www.taylorfrancis.com/books/mono/1...) and is being published by Taylor & Francis. You should get a copy if you want to learn more about ZGC. It’s available for pre-order now.

The Z Garbage Collector | In JDK 25 | Erik Österlund | Taylor & Franci

This book explains how the Z Garbage Collector was designed, why it was designed this way, the common pitfalls to avoid when using ZGC in JDK 25 and how to get

taylorfrancis.com

My work on ZGC automatic heap sizing is coming together beautifully. I’m increasingly happy with the GC logs. Feeling optimistic that it can beat carefully tuned manual heap sizing. A static heap size just can’t deal with dynamic behaviour shifts as well; it’s not in its nature.

I try to remove a lot of unnecessary complicated code before adding a lot of complicated code. I think of it as limiting myself to a “complexity budget”. Now I’m at the point of the cycle where it’s time to add complicated code.