Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the intricacies of Java's 'final' keyword and field immutability in this 51-minute conference talk from Devoxx. Discover why the JVM must assume some 'final' fields will change and how this assumption impacts application performance. Examine the semantics and practical implications of field immutability from compile-time guarantees through JVM behavior, learning how the current JVM treats final fields and techniques to leverage this knowledge for creating faster code. Investigate recent efforts to enhance the strength of the 'final' keyword and understand the roadmap for future improvements. Conclude by exploring Java's new preview feature "Stable Value," which offers the flexibility of mutable fields while maintaining the performance benefits of 'final' fields, and learn where this capability proves most valuable in modern Java development.
Syllabus
Finally, final means final A deep dive into field immutability in Java by Per Minborg
Taught by
Devoxx