On Thu, 11 May 2023 13:08:55 GMT, Alan Bateman <al...@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 <al...@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 <al...@openjdk.org> Co-authored-by: Andrew Haley <a...@openjdk.org> Reviewed-by: psandoz, dfuchs, mchung ------------- PR: https://git.openjdk.org/jdk/pull/13932