Proposal for adding O_DIRECT support into JDK 9
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Aug 14 23:09:33 UTC 2017
On Aug 14, 2017, at 2:32 PM, Markle, Seth <smarkle at amazon.com> wrote:
>>> Please let us know your comments and feedback. Thank you very much for your consideration!
>
> Are there any plans to plumb this through to higher level classes built on top of FileChannel. For example, will there be a way to open RandomAccessFile handles with O_DIRECT?
No. In any case, the java.io APIs such as RandomAccessFile are not built on top of the New I/O APIs (java.nio). The latter were introduced under JSR 51 [1] to complement and improve upon the pre-existing I/O classes in the java.io package.
Brian
[1] https://www.jcp.org/en/jsr/detail?id=51
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170814/7d1ba148/attachment.html>
More information about the nio-dev
mailing list