Proposal for adding O_DIRECT support into JDK 9
yingqi.lu at intel.com
Fri Aug 25 16:38:38 UTC 2017
Please let us know if you have any additional feedback or questions on this patch.
Patch is available at http://cr.openjdk.java.net/~kkharbas/8164900/webrev.05/
JBS link is available at https://bugs.openjdk.java.net/browse/JDK-8164900
From: nio-dev [mailto:nio-dev-bounces at openjdk.java.net] On Behalf Of Brian Burkhalter
Sent: Monday, August 14, 2017 4:10 PM
To: Markle, Seth <smarkle at amazon.com>
Cc: nio-dev at openjdk.java.net
Subject: Re: Proposal for adding O_DIRECT support into JDK 9
On Aug 14, 2017, at 2:32 PM, Markle, Seth <smarkle at amazon.com<mailto: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  to complement and improve upon the pre-existing I/O classes in the java.io package.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev