JSR 400 (Java SE 25): JEP Proposed to Target: 506: Scoped Values
Iris Clark
iris.clark at oracle.com
Thu May 8 19:06:06 UTC 2025
The following JEP with scope "SE" has been proposed to target JDK 25:
506: Scoped Values
https://openjdk.org/jeps/506
Summary: Introduce scoped values, which enable a method to share
immutable data both with its callees within a thread, and with child
threads. Scoped values are easier to reason about than thread-local
variables. They also have lower space and time costs, especially when
used together with virtual threads (JEP 444) and structured concurrency
(JEP 505).
The announced deadline for feedback to jdk-dev is Thu 15 May 18:00 UTC:
https://mail.openjdk.org/pipermail/jdk-dev/2025-May/010051.html
If there are no unresolved objections at that time, then the JEP will be moved
to the Targeted state, indicating that the feature is expected to appear in
the specified release of the JDK Project. For more information about states,
see the JEP Process document:
https://openjdk.org/jeps/1
A dashboard that lists JEPs with "SE" scope may be found via a link on this
page:
https://openjdk.org/projects/jdk/25/spec/
Thanks,
Iris
More information about the java-se-spec-experts
mailing list