Virtual threads in existing FJP logic
sormuras at gmail.com
Mon Feb 17 15:10:17 UTC 2020
On Mon, Feb 17, 2020 at 3:33 PM Ron Pressler <ron.pressler at oracle.com>
> Hi Christian.
> I’m not sure I understand. You want to use virtual threads as
> FJP *workers*? If so, why?
Yes. That was our first attempt to get virtual threads working
with the existing ecosystem -- based on an obvious lack of
understanding paired with gettting things done "quick and dirty".
> It is never a good idea to pool virtual threads, and FJP is all about
> pooling. Of course, you could always set your FJP as the *scheduler*
> for your virtual threads.
Understood and already implemented our spike based on
that idea:  ... works like a charm, so far. Looking forward
seeing Loom being integrated to OpenJDK's master branch.
More information about the loom-dev