Motivation to put Continuation, ContinuationScope, and Scope in jdk.internal.vm package

Robbe Pincket robbepincket at live.be
Sun Jul 31 20:19:55 UTC 2022


The wiki still lists the old information:

> ## Continuations
>
> ### Design
>
> The primitive continuation construct is that of a scoped (AKA multiple-named-prompt),
> stackful, one-shot (non-reentrant) delimited continuation. The continuation can be cloned,
> and thus used to implement reentrant delimited continuations. The construct is exposed via
> the java.lang.Continuation class. Continuations are intended as a low-level API, that
> application authors are not intended to use directly. They will use higher-level
> constructs built on top of continuations, such as virtual threads or generators.

Someone should probably fix that before Java 19 releases?

Regards
Robbe Pincket
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20220731/a649b305/attachment.htm>


More information about the loom-dev mailing list