From the course: Advanced Java: Threads and Concurrency

Unlock the full course today

Join today to access over 24,300 courses taught by industry experts.

Project Loom and virtual threads

Project Loom and virtual threads - Java Tutorial

From the course: Advanced Java: Threads and Concurrency

Project Loom and virtual threads

- [Instructor] Is it possible to have another model of threads that will be less expensive to create and lightweight, rather than using threads wrapped in OS threads to run blocking I/O tasks? Well, this is exactly what Project Loom aims to explore and achieve. The dictionary definition of loom is the art or the process of weaving. This project is all about threads, and that's a good reason for it to be called Project Loom. Loom is a project initiated by OpenJDK to try and address the limitations of the traditional Java concurrency model, or in other words, using platform threads. This project foresee the need for a lighter-weight model of threads to cater to today's demand for high-throughput concurrent applications. The core of this project is the concept of virtual threads. Let's try to understand this concept with this analogy. If you want to conduct a session to make tech enthusiasts aware of some new technology, you could hold a seminar where the participants can attend in…

Contents