RFR: 8284199: Implementation of Structured Concurrency (Incubator) [v3]

Joe Darcy darcy at openjdk.java.net
Fri May 27 03:36:41 UTC 2022


On Tue, 24 May 2022 15:15:43 GMT, Alan Bateman <alanb at 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.
>
> Alan Bateman has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add statement to close about thread termination

src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructuredTaskScope.java line 668:

> 666:             sb.append('/');
> 667:         }
> 668:         String id = getClass().getName() + "@" + System.identityHashCode(this);

Can use Objects.toIdentityString() instead.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8787


More information about the core-libs-dev mailing list