Virtual Threads, Structured Concurrency and Scoped Values in Java 25 and Beyond
summary
The talk explains Project Loom features in Java 21–26: virtual threads (lightweight Java-thread objects that let code block on I/O without hurting scalability, with a Java 24 fix for synchronized-block I/O perf), Scoped Values (replacement for ThreadLocal, finalized in Java 25), and Structured Concurrency (reworked in Java 25 and still preview in Java 26). It gives detailed examples, code patterns, and notes known future evolutions of Loom.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:02Loom goals
- 8:12Concurrency issues
- 19:58Reactive limits
- 33:50Virtual threads
- 46:35Blocking calls in VT
- 1:00:14Scoped Values
- 1:08:19Goto problems
- 1:23:25Structured concurrency
- 1:36:49Timeouts and interrupts
- 1:46:40Virtual threads demo
- 2:28:00Joiners overview
- 2:36:32Java 25-27 features
- 2:43:00Q&A
related talks
47mConcurrent and Asynchronous Programming: Loom in Java 20 and 21
47mThe Challenges of Introducing Virtual Threads to the Java Platform - Project Loom
51mThe Future of Java: asynchronous programming with Loom
52mJava Virtual Threads
51mWhat's Looming in Java The Why and What of Project Loom
57mUnveiling the Magical Power of Java Virtual Threads
34mIntroduction and pitfalls of Java's new concurrency model
02h 46mWill Loom Protect Us from Temporal Robbery?
