Async-Await in Vertx with Project Loom

Ron Pressler ron.pressler at oracle.com
Tue Oct 19 10:31:29 UTC 2021



> On 18 Oct 2021, at 14:40, August Nagro <augustnagro at gmail.com> wrote:
> 
> Thanks for the info.. that's a bummer. Is it a permanent API change?

For Continuation in its current form — yes. It is not safe and could even result in miscompilation if not 
used carefully (the JIT compilers are allowed to assume that the identity of the current thread does not change
within a method). Many of its use-cases could be achieved with a custom scheduler, although, depending on 
how much time we have to consider that API, it might not make the first Preview, either.

— Ron



More information about the loom-dev mailing list