<div dir="ltr">| <span class="gmail-im" style="color:rgb(80,0,80)">

<span style="color:rgb(34,34,34)">Yes. As a matter of fact, we’re exploring two solutions simultaneously. One with less-than-ideal performance, which could hopefully be delivered sooner, and another with ideal performance but that will likely take longer to deliver. It’s possible we’ll deliver the short term solution first, and the long-term solution later.</span><br></span><div>Cool, hope to read more details about those implementations once they are ready! </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 5, 2023 at 2:04 PM Ron Pressler <<a href="mailto:ron.pressler@oracle.com">ron.pressler@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"><br>
<br>
> On 5 Jul 2023, at 12:58, Andrii Lomakin <<a href="mailto:lomakin.andrey@gmail.com" target="_blank">lomakin.andrey@gmail.com</a>> wrote:<br>
> <br>
> Hi Ron.<br>
> Thank you for getting back to me so quickly.<br>
> <br>
> Yep, it slipped my mind that ByteInputStream calls are short and not blocking, the first example I remembered.<br>
> <br>
> Follow-up questions:<br>
> 1. By tracking commits in the loom branch, I have had the impression that working on the ability not to pin threads in synchronized blocks has already started. Is this the correct impression? <br>
<br>
Yes. As a matter of fact, we’re exploring two solutions simultaneously. One with less-than-ideal performance, which could hopefully be delivered sooner, and another with ideal performance but that will likely take longer to deliver. It’s possible we’ll deliver the short term solution first, and the long-term solution later.<br>
<br>
> 2. "Yes. The work is ongoing." - Just to double check, is my understanding correct that once this work is done, the worker thread (OS thread) will not be frozen by IO calls? I am interested in calls done by FileChannel,  etc. <br>
<br>
Yes, where io_uring is available.<br>
<br>
— Ron</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><div dir="ltr">Best regards,<br>Andrii Lomakin.<br><br></div></div></div></div>