The Java Sessions: Virtual Threads, Scoped Values, and Structured Concurrency
Java 21 introduced Virtual Threads as part of Project Loom, making thread-per-task programming practical at scale. Virtual Threads are lightweight, inexpensive to create, and eliminate the need for complex asynchronous/reactive code in many cases. Alongside Virtual Threads, Structured Concurrency, and Scoped Values, these features simplify the management of concurrent tasks and context. In this session, we’ll explore how these new features change the way we write concurrent Java code and what it means for existing libraries and frameworks.
- What is a Virtual Thread
- Creating and Using a Virtual Thread
- What will Loom's Virtual Threads do to
Future
and Reactive - What is Structured Concurrency?
- What are Scoped Values?
About Daniel Hinojosa
Daniel is a programmer, consultant, instructor, speaker, and recent author. With over 20 years of experience, he does work for private, educational, and government institutions. He is also currently a speaker for No Fluff Just Stuff tour. Daniel loves JVM languages like Java, Groovy, and Scala; but also dabbles with non JVM languages like Haskell, Ruby, Python, LISP, C, C++. He is an avid Pomodoro Technique Practitioner and makes every attempt to learn a new programming language every year. For downtime, he enjoys reading, swimming, Legos, football, and barbecuing.
More About Daniel »