RFR: 8287437: Temporarily disable Continuations::enabled() for platforms which don't have an implementation, yet
Martin Doerr
mdoerr at openjdk.java.net
Fri May 27 13:20:40 UTC 2022
On Fri, 27 May 2022 13:03:18 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> > I'd probably just define the platforms where Loom _is_ implemented: `AMD64` and `AARCH64`.
>
> I think that would be better too.
Thanks for the feedback! I've changed it.
> I hope to propose changes soon that adds an alternative virtual thread implementation that is backed by a platform thread (1-1 mapping). This clearly won't scale but it should be enough to pass conformance tests on platforms that might not have VM support for continuations for some time. Part of that needs to separate "supported by VM" from "preview features are enabled" as it has to be surfaced to the library code so it can choose the implementation.
That sounds great!
-------------
PR: https://git.openjdk.java.net/jdk/pull/8919
More information about the hotspot-runtime-dev
mailing list