Question about pinned

qia nxiao zenghuichen1997 at gmail.com
Mon Sep 18 05:48:42 UTC 2023


Hello everyone,

Recently, my application experienced a deadlock issue due to "pinned"
reasons. It was difficult to detect during testing because it occurred
within exception handling logic.The occurrence of "pinned" situations has
become the biggest issue for me when using virtual threads.

The official documentation mentions the possibility of "pinned" situations.
I would like to ask what the root cause of the "pinned" issue is in
synchronized blocks or methods? Will there be a solution in the upcoming
JDK 21 or is it already being planned for resolution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230918/87be1887/attachment.htm>


More information about the loom-dev mailing list