Integrated: 8284161: Implementation of Virtual Threads (Preview)
Alan Bateman
alanb at openjdk.java.net
Sat May 7 08:09:45 UTC 2022
On Fri, 8 Apr 2022 13:43:39 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> This is the implementation of JEP 425: Virtual Threads (Preview).
>
> We will refresh this PR periodically to pick up changes and fixes from the loom repo.
>
> Most of the new mechanisms in the HotSpot VM are disabled by default and require running with `--enable-preview` to enable.
>
> The patch has support for x64 and aarch64 on the usual operating systems (Linux, macOS, and Windows). There are stubs (calling _Unimplemented_) for zero and some of the other ports. Additional ports can be contributed via PRs against the fibers branch in the loom repo.
>
> There are changes in many areas. To reduce notifications/mails, the labels have been trimmed down for now to hotspot, serviceability and core-libs. We can add additional labels, if required, as the PR progresses.
>
> The changes include a refresh of java.util.concurrent and ForkJoinPool from Doug Lea's CVS. These changes will probably be proposed and integrated in advance of this PR.
>
> The changes include some non-exposed and low-level infrastructure to support the (in draft) JEPs for Structured Concurrency and Extent Locals. This is to make life a bit easier and avoid having to separate VM changes and juggle branches at this time.
This pull request has now been integrated.
Changeset: 9583e365
Author: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/9583e3657e43cc1c6f2101a64534564db2a9bd84
Stats: 99468 lines in 1133 files changed: 91198 ins; 3598 del; 4672 mod
8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler at openjdk.org>
Co-authored-by: Alan Bateman <alanb at openjdk.org>
Co-authored-by: Erik Österlund <eosterlund at openjdk.org>
Co-authored-by: Andrew Haley <aph at openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman at openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun at openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik at openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn at openjdk.org>
Co-authored-by: Chris Plummer <cjplummer at openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp at openjdk.org>
Co-authored-by: Robbin Ehn <rehn at openjdk.org>
Co-authored-by: Stefan Karlsson <stefank at openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl at openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko at openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
-------------
PR: https://git.openjdk.java.net/jdk/pull/8166
More information about the serviceability-dev
mailing list