How to Prepare Your Code for Virtual Threads
summary
The talk explains what needs to change in Java code to run on virtual threads (Project Loom). It covers common problems when migrating, how to diagnose them, examples of fixes made in the JDK and popular frameworks/libraries, and shows applying those solutions to real code to decide whether changes are necessary.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:52Goal and structure
- 10:22Virtual threads
- 18:54Overcoming fear of virtual threads
- 22:30Compatibility steps
- 32:40Philosophy of use
- 38:00Experiment results
- 40:50Q&A
related talks
52mJava Virtual Threads
47mThe Challenges of Introducing Virtual Threads to the Java Platform - Project Loom
02h 43mVirtual Threads, Structured Concurrency and Scoped Values in Java 25 and Beyond
51mThe Future of Java: asynchronous programming with Loom
47mConcurrent and Asynchronous Programming: Loom in Java 20 and 21
51mWhat's Looming in Java The Why and What of Project Loom
53mVirtual Threads: Ushering in a New Era of Concurrency
49mPrepare for what “Loom”s ahead.
