Proposal for adding O_DIRECT support into JDK 9

Brian Burkhalter brian.burkhalter at
Mon Aug 14 23:09:33 UTC 2017

On Aug 14, 2017, at 2:32 PM, Markle, Seth <smarkle at> 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 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 package.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nio-dev mailing list