Using the VM parameter -Djdk.tracePinnedThreads has a probability of causing the application to hang

qia nxiao zenghuichen1997 at gmail.com
Thu Aug 3 08:14:33 UTC 2023


Hello everyone, I have noticed that in certain situations, there is a
probability that using the VM parameter -Djdk.tracePinnedThreads can cause
the application to hang.

I am not familiar with the exact reason behind this issue and I would like
to know if there is a solution.

Below is a test case that I have, and there is a certain probability of it
getting stuck when using this parameter.


https://github.com/zenghu1chen/loom-compatibility-test/blob/main/src/main/java/org/example/TracePinnedThreadsOptionTest.java
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230803/7aa3e3c9/attachment.htm>


More information about the loom-dev mailing list