New candidate JEP: 446: Scoped Values (Preview)

Mark Reinhold mark.reinhold at
Tue Apr 18 17:39:56 UTC 2023

  Summary: Introduce scoped values, which enable the 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