On Tue, 24 May 2022 15:15:43 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.
>
> 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

Reply via email to