Overview
Explore Project Loom, a groundbreaking initiative aimed at revolutionizing concurrency in Java, in this 22-minute Oracle Developer Live session presented by Ron Pressler. Dive into the rationale behind Loom's creation, understand the challenges of asynchronous programming, and discover how virtual threads offer a lightweight alternative to traditional concurrency models. Learn practical applications of virtual threads, techniques for managing concurrent access to limited resources, and guidelines for choosing between virtual and platform threads. Gain insights into high-level implementation concepts, serviceability considerations, and the principles of structured concurrency. The session concludes with an invitation to experiment with Loom, providing resources for early access builds, mailing lists, and further reading on structured concurrency and related topics.
Syllabus
Introduction
Why Loom exists?
Asynchronous Programming Style
Introducing Project Loom and Virtual Threads
How de we use Virtual Threads?
How can I limit Concurrent Access to a Limited Resource?
How do I know if I need Virtual Threads or Platform Threads?
High-level Implementation Concepts
What about Serviceability?
Structured Concurrency
Give Loom a try!
Taught by
Java