On Thu, 19 May 2022 13:05:54 GMT, Alan Bateman <al...@openjdk.org> wrote:
> This is the implementation of JEP 428: Structured Concurrency (Incubator). > > This is a non-final API that provides a gentle on-ramp to structure a task as > a family of concurrent subtasks, and to coordinate the subtasks as a unit. src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructuredTaskScope.java line 237: > 235: * the task result is retrieved via its {@code Future}, or > <i>happen-before</i> any actions > 236: * taken in a thread after {@linkplain #join() joining} of the task > scope. > 237: * Would a @-jls reference to the appropriate section of the memory model chapter help here? ------------- PR: https://git.openjdk.java.net/jdk/pull/8787