Request/discussion: BufferedReader reading using async API while providing sync API
Alan Bateman
Alan.Bateman at oracle.com
Thu Oct 27 09:46:36 UTC 2016
On 27/10/2016 10:28, Bernd Eckenfels wrote:
> :
>
> AsyncFileChannel uses Java threads in the background for the
> completion handling (and last time I checked they are not signaled by
> the OS). Performance with that was not very good for sequential
> processing in my tests.
>
>
It does use completion ports on Windows but there has be a thread to
read the completion status. In any case, it's not really suitable here
as I think the original poster is looking read-ahead sequential access
ather than concurrent access to different parts of the file.
-Alan
More information about the core-libs-dev
mailing list