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

Pedro Lamarão pedro.lamarao at prodist.com.br
Wed Nov 29 15:40:22 UTC 2023


Hello all, thanks for your hard work!
In section "Thread-local variables for sharing", in the code listing, near
(2), we read "Application.handle(request, response)".
Was that meant to be "application.handle(request, response)"?
Atte.
Pedro.

Em qua., 29 de nov. de 2023 às 12:21, Mark Reinhold <
mark.reinhold at oracle.com> escreveu:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20231129/9d8200b3/attachment.htm>


More information about the loom-dev mailing list