News and views from members of the Java team at Oracle
Stable values are a new API that JEP 502 aims to add to Java 25. A stable value holds an on-demand at-most-once computed value that is afterward immutable and treated as "truly final" by the JVM, which allows it to apply optimizations like constant folding. This allows for lazy initialization that improves performance through laziness as well as better JIT optimizations.
dev.java: the destination for Java developers
OpenJDK: the place to collaborate on the Java Platform and related projects
Oracle Java: the #1 programming language and development platform
The Inside Java Newscast is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.