JavaJava
Conference50min
INTERMEDIATE

The next phase of Project Loom and Virtual Threads

This session focuses on the use of Virtual threads, a feature in JDK 21. It provides guidance on effective usage and addresses the "pinning" issue encountered with object monitors. The session also demonstrates how Structured Concurrency can treat a group of tasks running in different virtual threads as a single unit of work.

Alan Bateman
Alan BatemanOracle

talkDetail.whenAndWhere

Friday, October 11, 11:50-12:40
Room 8
talks.description
Virtual threads became a permanent feature in JDK 21. This is one of the most exciting additions to the Java Platform in recent years. We will present some guidance on using Virtual threads effectively. We will present an update on the so called "pinning" issue that many developers have run into with exiting using object monitors. This session will show how Structured Concurrency can be used to treat a group of related tasks running in different virtual threads as a single unit of work.
JDK 21
Virtual Threads
Structured Concurrency
Pinning issue
talks.speakers
Alan Bateman

Alan Bateman

Oracle

Ireland

Alan Bateman is an architect in the Java Platform group in Oracle.
comments.title

comments.speakerNotEnabledComments