Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Free courses from frontend to fullstack and AI
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore advanced Java concurrency features in this 38-minute conference talk that demonstrates how to maximize the potential of virtual threads introduced in Java 21. Learn about StructuredTaskScope and ScopedValue, two powerful features currently in their third preview phase, through a comprehensive live coding session that transforms an empty Java application into a fully functioning concurrent web application. Discover why ScopedValues should be preferred over ThreadLocals in many scenarios and master the techniques for building custom StructuredTaskScopes tailored to specific requirements. Gain practical insights into implementing these cutting-edge concurrency tools in real-world applications while understanding their underlying mechanisms and best practices for optimal performance.
Syllabus
StructuredTaskScope And ScopedValue - Get The Most Out of Virtual Threads by Christian Woerz
Taught by
Devoxx