
Concurrency patterns with benchmarks behind the claims and jcstress behind the memory model
- VirtualThreadsExample.java: Lightweight threads (Project Loom) for massive concurrency with minimal overhead.
- StructuredConcurrencyExample.java: Treats a group of tasks as one unit of work: the first failure cancels the rest, a deadline bounds the whole group, and no task outlives the block. Built without the Java 21 preview API, and on threads rather than an executor, for a reason the class explains.

.jpg)




