<div dir="ltr"><div>Thanks Alan,<br><br></div>>> <span style="white-space:pre-wrap">Note that this code has changed significantly in the loom repo and the assert that is triggered in main line doesn't exist in the new code.
</span><div><br></div><div>My assumption is that:<br><br></div><div>- In the main line the assertion should hold because we don't unmount a virtual thread during blocking operations (we pin it to the carrier and park the thread)<br></div><div>- In loom the assertion has been removed because there are changes like commit (756743da) that will make it possible for a thread to be unmounted while holding a lock.<br></div><div><br></div><div>Can you confirm if this is correct ?<br></div><div><br>Íñigo<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 13, 2024 at 10:27 AM 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"><u></u>
<div>
On 13/07/2024 08:07, Iñigo Mediavilla wrote:<br>
<blockquote type="cite">
<div dir="auto">
<div>I see, in that case Serguei would you want to still own
this JBS or would you be OK if I try to have a look at it ?</div>
<br>
</div>
</blockquote>
Debug build and <span style="white-space:pre-wrap">JTREG_TEST_THREAD_FACTORY=Virtual. Note that this code has changed significantly in the loom repo and the assert that is triggered in main line doesn't exist in the new code.
-Alan.
</span>
</div>
</blockquote></div>