Looming Changes in Java Concurrency

.jpg

Looming Changes in Java Concurrency

.jpg

Concurrency on the Java Platform

.jpeg

Loom

.jpg

“Make Concurrency Easy Again”

.jpeg

Virtual Threads

.jpeg

Constructing Virtual Threads

.jpeg

Using an Executor Service

.jpeg

Kick the Tires

.jpg

State of the Project

.jpeg

Structured Concurrency

Structuring with Executor

.svg

Cancellation

.jpg

Thread Locals

.jpeg

Thread Locals in Loom

.jpg

Heinz Kabutz' Example

.jpg

Good Use of Fibers?

.jpeg

How Do We Teach Concurrency?

.jpeg

Tasks, not Threads

.jpeg

Task Coordination

.jpeg

What Could Possibly Go Wrong?

.jpeg

awaitTermination(Long.MAX_VALUE, TimeUnit.DAYS)

.jpeg