Virtual Thread Scheduler - why ForkJoinPool?
Alan Bateman
Alan.Bateman at oracle.com
Wed Oct 5 13:23:29 UTC 2022
On 05/10/2022 13:46, David Lloyd wrote:
> :
>
> There are some disadvantages to this approach as well: this means that
> at present, Thread.yield() is counter-intuitively unfair (and thus not
> useful) for cooperatively switching among busy tasks [1].
That's more to do with the Thread.yield implementation than anything
else. We haven't decided yet on whether to change that.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20221005/ac153770/attachment.htm>
More information about the loom-dev
mailing list