Virtual Threads (Project Loom)
← Back to Java Concurrency
Lightweight user-mode threads introduced in Java 21. Virtual threads are cheap to create (thousands or millions) and automatically unmount from carrier OS threads during blocking operations. They enable the simple thread-per-request programming model at massive scale.