Scale Forem

Scale YouTube
Scale YouTube

Posted on

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

Summary

Java’s final keyword is supposed to guarantee immutability, but the JVM still hedges its bets by assuming some “final” fields might change—sometimes at the cost of performance. Per Minborg’s talk unpacks the gap between compile-time promises and runtime behavior, showing you tricks to squeeze more speed out of your code today.

He also maps out the roadmap for beefing up final over time and introduces Java’s new preview feature “Stable Value,” which aims to give you mutable-field flexibility without sacrificing the lightning-fast performance you expect from final.

Watch on YouTube

Top comments (0)