Project Loom presentation at BangaloreJUG
Alan Bateman
Alan.Bateman at oracle.com
Fri Dec 20 15:43:31 UTC 2019
On 20/12/2019 13:24, Nawazish Khan wrote:
> Thanks Alan, I initially wanted to use SynchronousQueue. But a
> BlockingQueue from the core lib would be
SQ can't be beaten for highly contented heavyweight threads but it's not
a good choice right now for virtual threads. It will work of course but
the performance might be surprising. I see Rémi has replied with an
example using ArrayBlockingQueue, hopefully that is enough to get you
going. This is an area that will get attention in the new year so that
we have good recommendations for different scenarios.
-Alan
More information about the loom-dev
mailing list