Scale Forem

Scale YouTube
Scale YouTube

Posted on

Devoxx: StructuredTaskScope And ScopedValue - Get The Most Out of Virtual Threads by Christian Woerz

StructuredTaskScope & ScopedValue by Christian Woerz

Christian Woerz’s session dives into Java 21’s virtual threads and two slick preview-phase features—StructuredTaskScope and ScopedValue—to help you squeeze every drop of performance and clarity out of modern concurrency.

Through a live-coding journey from an empty Java app to a fully concurrent web service, you’ll see why ScopedValues trump ThreadLocals and how to roll your own StructuredTaskScopes for real-world needs, leaving you with a rock-solid grasp of these game-changing tools.

Watch on YouTube

Top comments (0)