JSR 398 (Java SE 23): JEP Proposed to Target: 481: Scoped Values (Third Preview)

Iris Clark iris.clark at oracle.com
Wed May 22 16:05:33 UTC 2024


// now with correct subject!

The following JEP with scope "SE" has been proposed to target JDK 23:

  481: Scoped Values (Third Preview)
       https://openjdk.org/jeps/481

  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 480).  This is a preview API.

The announced deadline for feedback to jdk-dev is Wed 29 May 23:59 UTC:

    https://mail.openjdk.org/pipermail/jdk-dev/2024-May/009026.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/23/spec/

Thanks,
Iris


More information about the java-se-spec-observers mailing list