[External] : Re: Adaptation of IO classes to the VTs

Ron Pressler ron.pressler at oracle.com
Wed Jul 5 12:04:41 UTC 2023



> On 5 Jul 2023, at 12:58, Andrii Lomakin <lomakin.andrey at gmail.com> wrote:
> 
> Hi Ron.
> Thank you for getting back to me so quickly.
> 
> Yep, it slipped my mind that ByteInputStream calls are short and not blocking, the first example I remembered.
> 
> Follow-up questions:
> 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? 

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.

> 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. 

Yes, where io_uring is available.

— Ron


More information about the loom-dev mailing list