Jump to ratings and reviews
Rate this book

Understanding Java Virtual Threads

Rate this book
The introduction of virtual threads is a huge improvement in Java multi-threading development. Virtual threads will be a killer feature of Java. Subsequent advancements in multi-threaded development are intricately tied to a profound understanding of virtual threads. Virtual threads become a standard feature in Java 21. Java 21 is the latest LTS version of Java and is also the target version for many Java applications to upgrade. Even if you have not upgraded to Java 21, learning and mastering virtual threads early allow you to seize the opportunity in future development.

This book provides an in-depth and detailed introduction to virtual threads, from how to use them to the underlying implementation details. Let you not only know the virtual threads, but also know why they are so. In addition to virtual threads, this course will also introduce two other features, Structured Concurrency and Scoped Values from the OpenJDK Loom project, These two features improve the ecosystem related to virtual threads.

If you start to hear the term Java virtual threads frequently and feel the need to learn more about it, then reading this book is your best choice.

Content of this book

Introduction to Virtual ThreadsCreate Virtual ThreadsCharacteristics of Virtual ThreadsUse Virtual ThreadsThread LocalFramework IntegrationsObservabilityVirtual Thread SchedulingVirtual Thread ExecutionVirtual Thread ImplementationJava Standard LibrariesStructured ConcurrencyScoped ValueJava 24 Updates

137 pages, Kindle Edition

Published February 7, 2025

About the author

Fu Cheng

20 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.