Waiting on intrinsic locks parks the executor thread

Alan Bateman Alan.Bateman at oracle.com
Tue Jan 22 15:59:33 UTC 2019


On 22/01/2019 15:43, Volkan Yazıcı wrote:
> Within a fiber waiting on an intrinsic lock, Object#wait(), parks the
> executor thread. Is this behavior intended? If so, is there an alternative
> release-the-lock-and-suspend intrinsic for fibers?
>
Yes, this is expected for now. Can you use java.util.concurrent locks?

-Alan


More information about the loom-dev mailing list