Java Cup
Inside Java

News and views from members of the Java team at Oracle

New candidate JEP: 429: Extent-Local Variables (Incubator)

Summary: Introduce extent-local variables, 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 an incubating API.


More at https://openjdk.org/jeps/429.