Virtual Threads in Java 21

Опубликовано: 08 Февраль 2026
на канале: Will Tollefson
11,194
398

In this video we'll cover a relatively new feature to the Java language, VIRTUAL THREADS. We'll talk about some current BEST PRACTICES of using them and cover SIMPLE EXAMPLES of how you can use them in your code.

I'm Will Tollefson, a guy who loves to NEVER STOP LEARNING and teach others what I've learned. If you're enjoying the content, please LIKE, SUBSCRIBE, and SHARE!

LINKS:
JEP 444: https://openjdk.org/jeps/444

VIDEO CHAPTERS:
0:00 Introduction
0:49 JEP 444
2:14 Use Case Example
5:02 Virtual vs Platfrom Thread Performance
7:26 Throughput vs Latency
8:10 Common Interactions With Virtual Threads
11:38 Java 21 Current Best Practices