Scale Forem

Scale YouTube
Scale YouTube

Posted on

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

Finally, final means final: A deep dive into field immutability in Java

Per Minborg peels back the layers on Java’s final keyword—how it promises immutability yet the JVM often assumes those fields might change, slowing your code down. You’ll learn how the JVM really treats final fields and how to exploit that behavior today for faster, more predictable performance.

Along the way, we’ll explore recent efforts to make final rock-solid, peek at the roadmap for stronger immutability guarantees, and check out the new “Stable Value” preview feature, which promises the flexibility of mutable fields without sacrificing the speed of true immutability.

Watch on YouTube

Top comments (0)