RE: VMChannel read/write native interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roman Kennke wrote:
> I don't know if the FileInputStream should attempt to use a direct
> buffer. I guess it could be better in the case when a VM supports
> efficient access to it (see above). In other cases it should not be
> slower, so we should probably try to use direct buffers there (and in
> other places like the InputStreamReader).

Just as a data point, this is not universally true. On IKVM, using a direct buffer would result in much less efficient i/o.

Regards,
Jeroen



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux