Waiting on intrinsic locks parks the executor thread

Volkan Yazıcı volkan.yazici at gmail.com
Tue Jan 22 15:43:20 UTC 2019


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?

(Using 2019-01-20 build by Shipilev:
https://builds.shipilev.net/openjdk-loom/openjdk-loom-latest-linux-x86_64-release.tar.xz
)


More information about the loom-dev mailing list