ScopedValue structured forking/forwarding API

Nikita Bobko nikita.bobko at jetbrains.com
Mon Jul 14 15:26:10 UTC 2025


Pedro Lamarão wrote:
> Is this not the domain of the transformer or
> scheduler? shouldn't this be implemented in that layer?

Andrew Haley wrote:
> In effect we already do exactly this with Java's
> jdk.internal.vm.Continuation class, but that's not available to client
> code such as Kotlin. So sure, it's the job of the transformer, but there
> isn't an API that such a transformer can use.

May I inquire: what is a transformer? I briefly read some of the
jdk.internal.vm.Continuation code, but apparently not enough.


More information about the loom-dev mailing list