Adaptation of IO classes to the VTs

Andrii Lomakin lomakin.andrey at gmail.com
Wed Jul 5 10:38:26 UTC 2023


Hi team.

What is the status of adapting IO-related JDK implementations to the
virtual threads?
For example, ByteArrayInputStream still uses synchronized in JDK 20.

If I call FileChannel methods, will VT threads be pinned in such cases?
Is the same true for RandomAccessFile?

I have read that there were plans to use an io_uring-like API for file IO
(all major OSs currently have such an API). Do you know if there is any
progress in this area?

-- 
Best regards,
Andrii Lomakin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230705/50c2af23/attachment.htm>


More information about the loom-dev mailing list