Scale Forem

Scale YouTube
Scale YouTube

Posted on

Devoxx: Finally, final means final A deep dive into field immutability in Java by Per Minborg

Java’s “final” isn’t as final as you think. In this talk, Per Minborg unpacks how the JVM sometimes has to assume that final fields might actually change at runtime—and why that sneaky detail can slow down your apps. You’ll get a clear look at the compile-time guarantees versus real-world JVM behavior and pick up tips for wringing performance out of final fields right now.

But wait, there’s more! We’ll tour recent efforts to beef up the strength of final in future Java releases, peek at the roadmap, and check out the brand-new “Stable Value” preview feature. It promises the best of both worlds: mutable flexibility with the speed perks of true immutability.

Watch on YouTube

Top comments (0)