New candidate JEP: 464: Scoped Values (Second Preview)

Mark Reinhold mark.reinhold at oracle.com
Wed Nov 29 15:18:54 UTC 2023


https://openjdk.org/jeps/464

  Summary: Introduce scoped values, which enable the safe and efficient
  sharing of immutable data within and across threads. They are preferred
  to thread-local variables, especially when using large numbers of
  virtual threads. This is a preview API.

- Mark


More information about the jdk-dev mailing list