5 ms·
Java 21 also previews structured concurrency (https://openjdk.org/jeps/453 https://openjdk.org/jeps/453), which uses the virtual thread implementation. It seems
by cgh 3y ago
Java 21 also previews structured concurrency (https://openjdk.org/jeps/453 https://openjdk.org/jeps/453), which uses the virtual thread implementation. It seems really nice, at least from reading the examples, and removes a number of pain points when dealing with thread-based concurrency.