Articles

Articles by Daniel Hinojosa

Virtual Threads and Structured Concurrency

Categories: Java Virtual Threads Structured Concurrency Loom

Virtual Threads and Structured Concurrency are complementary features from Project Loom that simplify concurrency in Java. Virtual Threads** make concurrency cheap and scalable. They allow a “thread-per-task” style without exhausting OS resources. Structured Concurrency makes concurrency safe and predictable. It groups concurrent tasks into a scope so their lifetimes, errors, and cancellations are managed together.