<div dir="ltr">Hi Alan,<br><br>By "So I<br>think you are running into a bug.." do you mean on my end? (Hope you do đ
)<br><br>When scheduling my tasks with platform threads I dont see it is being reproduced, although I must say my current platform threads scheduler is different (quartz scheduler) and does not make use of semaphores (but instead it pools its workers) that is why I suspect my usage of semaphores with VT.<br><br>Also when I try to execute the vthread_summary command you suggested I get this error: <br>java.lang.IllegalArgumentException: Unknown diagnostic command <br><br>I will certainly do as you suggest and try to upgrade the java version to the latest ea, but I really want to make sure I am not doing anything stupid and missing something before I do that</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 21 Jul 2024 at 20:32, Alan Bateman <<a href="mailto:Alan.Bateman@oracle.com">Alan.Bateman@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 21/07/2024 18:10, Yuval Lombard wrote:<br>
> Hi Robert<br>
><br>
> Thanks for your reply and feedback.<br>
> Unfortunately I have no choice but using the MQTT 3rd party lib<br>
><br>
> Attaching also the jcmd thread dump as you suggested.<br>
> Hope it would be helpful<br>
<br>
There are 120k virtual threads. Most of them have empty stack traces so <br>
I assume they have been started but haven't executed yet. The dump is <br>
hinting that it is something timer related. There are two virtual <br>
threads (#1561853 and #1561856) doing Socket.connect with a timeout and <br>
both are scheduling to be unparked if their connection isn't established <br>
before the timeout expires. At the same time, some other virtual thread <br>
(not sure which) has just unmounted from ForkJoinPool-1-worker-4 due to <br>
contention trying to enter a monitor. ForkJoinPool-1-worker-4 is attempt <br>
to schedule the virtual thread to unblocked after a short delay. So I <br>
think you are running into a bug but I think we need to see if <br>
duplicates with the more recent EA build.<br>
<br>
-Alan<br>
<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><p class="MsoNormal" style="color:rgb(34,34,34);font-size:small;background-image:initial;background-position:initial;background-repeat:initial">Kind regards,<b style="font-size:13.3333px;color:rgb(0,176,240);font-family:Ebrima"><br><br>Yuval Lombard</b><br></p><p class="MsoNormal" style="color:rgb(34,34,34);font-size:small;background-image:initial;background-position:initial;background-repeat:initial"><font color="#3b3838" face="Ebrima"><span style="font-size:12px"><b>Lead Software Engineer</b></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-size:small;background-image:initial;background-position:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Ebrima;color:rgb(59,56,56)">+972.50.548.0111</span><span style="font-size:9pt;font-family:Ebrima;color:rgb(64,64,64)"><u></u><u></u></span></p><p class="MsoNormal" style="color:rgb(34,34,34);font-size:small;background-image:initial;background-position:initial;background-repeat:initial"><font color="#0000ff" face="Ebrima"><span style="font-size:12px"><a href="mailto:yuval.l@securithings.com" style="color:rgb(17,85,204)" target="_blank">yuval.l@securithings.com</a></span></font></p><p class="MsoNormal" style="color:rgb(34,34,34);font-size:small;background-image:initial;background-position:initial;background-repeat:initial"><img src="cid:ii_l13cyhga0" alt="logo_black.png" width="200" height="47"></p></div></div></div></div>