50 of 308

Make use of structured concurrency

Description

Structured concurrency is currently (Java 23) in preview, but it looks like it would be a good way of replacing the stages that make use of fork-join patterns alongside executors and Futures with a more natural construction based around the virtual threads introduced in Java 21.

It seems likely that one version or another of structured concurrency might make it into the non-preview API in Java 25. It would be possible, then, to adopt this technique in a version of the MDA built on a Java platform that was baselined against that LTS if and when we move forward to that release.

Environment

None

Details

Assignee

Reporter

Components

Created March 4, 2025 at 1:30 PM
Updated March 4, 2025 at 1:30 PM

Activity