Overview
Explore the groundbreaking Project Loom, designed to revolutionize scalable concurrency in Java. Dive into the evolution of threads as Java's primary unit of concurrency and understand why traditional threads can no longer efficiently represent domain units like sessions, requests, or transactions. Learn how Project Loom aims to reintroduce threads as an efficient concurrency unit by implementing lightweight threads in the Java platform. Discover how this innovation allows for straightforward, easy-to-maintain code that scales to meet the demands of high-performance concurrent applications. Gain insights into synchronous and asynchronous programming, the developer's dilemma, and the concept of virtual threads. Examine the downsizing of threads, structured concurrency, and the use of thread executors. Engage with a comprehensive overview of Project Loom's features and their potential impact on Java development, presented by Ron Pressler, Consulting Member of Technical Staff at Oracle.
Syllabus
Introduction
What is concurrency
What are threads
What are synchronous threads
Spread calls
Waiting for IO
Asynchronous
Developers Dilemma
Unlimited Threads
Rethinking Threads
Thread API
Platform Thread
Virtual Threads
Platform Virtual Threads
Creating Virtual Threads
Downsizing Threads
Structured Concurrency
Unstructured Structured
Thread Executor
Invoke Any
Questions
Collections
Taught by
Java