Scale Forem

Scale YouTube
Scale YouTube

Posted on

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

Per Minborg takes us on a deep dive into Java’s final fields, exposing how the JVM sometimes treats them as mutable—and why that can secretly hamstring your app’s performance. You’ll get a clear breakdown of compile-time guarantees vs. runtime behavior, plus practical tips for wringing extra speed out of your final fields today.

Along the way, we’ll peek at the evolving roadmap for beefing up the final keyword and explore Java’s new preview feature “Stable Value,” which promises the flexibility of mutable fields with the performance punch of final ones—perfect for all those performance-critical hotspots.

Watch on YouTube

Top comments (0)