Integrated: 8306647: Implementation of Structured Concurrency (Preview)
Alan Bateman
alanb at openjdk.org
Wed Jun 7 06:44:13 UTC 2023
On Thu, 11 May 2023 13:08:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> This is the implementation of:
>
> - JEP 453: Structured Concurrency (Preview)
> - JEP 446: Scoped Values (Preview)
>
> For the most part, this is just moving code and tests. StructuredTaskScope moves to j.u.concurrent as a preview API, ScopedValue moves to j.lang as a preview API, and module jdk.incubator.concurrent has been removed. The significant API changes since incubator are:
>
> - StructuredTaskScope.fork returns Subtask instead of Future (JEP 453 has a section on this)
> - ScopedValue.where methods are replaced with runWhere, callWhere and getWhere
This pull request has now been integrated.
Changeset: f1c7afcc
Author: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f1c7afcc3fe39622c33ac7bac1ebdd9f96fa333d
Stats: 9229 lines in 40 files changed: 4856 ins; 4315 del; 58 mod
8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)
Co-authored-by: Alan Bateman <alanb at openjdk.org>
Co-authored-by: Andrew Haley <aph at openjdk.org>
Reviewed-by: psandoz, dfuchs, mchung
-------------
PR: https://git.openjdk.org/jdk/pull/13932
More information about the core-libs-dev
mailing list