InfoQ Homepage ThreadLocal Content on InfoQ
News
RSS Feed-
JEP 481: Third Preview of Scoped Values API Brings Key Enhancements in JDK 23
JEP 481, Scoped Values (Third Preview), formerly known as Extent-Local Variables (Incubator), offers a third preview, with one change, to gain additional experience and feedback from one round of incubation and two rounds of preview. This feature enables the sharing of immutable data within and across threads.
-
JEP 444: Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
JEP 444, Virtual Threads, was promoted from Candidate to Proposed to Target status for JDK 21. This feature offers a lightweight threading model to simplify the creation, management, and monitoring of high-throughput concurrent Java applications, allowing developers to efficiently handle millions of tasks and make better use of system resources.
-
JEP 429: Extent-Local Variables to Promote Immutability in Java
JEP 429, Extent-Local Variables (Incubator), was promoted from its JEP Draft 8263012 to Candidate status. This incubating JEP, under the umbrella of Project Loom, proposes enabling the sharing of immutable data within and across threads. This is preferred to thread-local variables, especially when using large numbers of virtual threads.