JEP proposed to target JDK 25: 502: Stable Values (Preview)
Mark Reinhold
mark.reinhold at oracle.com
Tue Mar 11 13:21:57 UTC 2025
2025/2/28 10:19:17 -0500, mark.reinhold at oracle.com:
> The following JEP is proposed to target JDK 25:
>
> 502: Stable Values (Preview)
> https://openjdk.org/jeps/502
>
> Summary: Introduce an API for stable values, which are objects that
> hold immutable data. Stable values are treated as constants by the
> JVM, enabling the same performance optimizations that are enabled
> by declaring a field final. Compared to final fields, however,
> stable values offer greater flexibility as to the timing of their
> initialization. This is a preview API.
>
> Feedback on this proposal from JDK Project Committers and Reviewers [1]
> is more than welcome, as are reasoned objections. If no such objections
> are raised by 20:00 UTC on Friday, 7 March, or if they’re raised and
> then satisfactorily answered, then per the JEP 2.0 process proposal [2]
> I’ll target this JEP to JDK 25.
Hearing no objections, I’ve targeted this JEP to JDK 25.
- Mark
More information about the jdk-dev
mailing list