Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Loom in JDK 25 - Virtual Threads, Structured Concurrency, and Scoped Values

Devoxx via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the Loom project's revolutionary approach to asynchronous programming in Java through this comprehensive conference talk that demonstrates how to simplify concurrent programming by allowing IO calls to block threads without performance penalties. Discover the concept of virtual threads as lightweight alternatives to OS threads, learn about their evolution from JDK 21 to JDK 25 including the resolution of performance issues with synchronized blocks, and understand how they fundamentally redefine thread management in Java applications. Master the Scoped Value API as a modern replacement for the legacy ThreadLocal API, examining its finalized implementation and practical applications for thread-local data management. Delve into the Structured Concurrency API's preview features and recent improvements in JDK 25 that provide more flexible ways to organize concurrent asynchronous tasks with better control flow and error handling. Gain in-depth understanding of the underlying mechanisms powering these technologies, explore proven patterns for implementing concurrent solutions, and work through non-trivial real-world examples that can be directly applied to production applications. Learn from detailed explanations of how virtual threads, scoped values, and structured concurrency work together to create more maintainable and performant concurrent Java applications while avoiding common pitfalls and anti-patterns in asynchronous programming.

Syllabus

Loom in JDK 25: Virtual Threads, Structured Concurrency, and Scoped Values by Remi Forax, José Pa

Taught by

Devoxx

Reviews

Start your review of Loom in JDK 25 - Virtual Threads, Structured Concurrency, and Scoped Values

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.