Proposal for adding O_DIRECT support into JDK 9

Lu, Yingqi at
Wed Aug 30 18:44:12 UTC 2017

Oh, great! Will do!

From: Brian Burkhalter [mailto:brian.burkhalter at]
Sent: Wednesday, August 30, 2017 11:42 AM
To: Lu, Yingqi < at>
Cc: nio-dev at
Subject: Re: Proposal for adding O_DIRECT support into JDK 9

Hi Lucy,

On Aug 30, 2017, at 11:37 AM, Lu, Yingqi < at< at>> wrote:

I will check.
I was also wondering whether there is an equivalent to mincore() or something which could enable DirectIOTest on Windows.


Very good point! I only tested on UFS. If we decide not to disable the test, what is the best method to check? fstype? I am sorry that I do not have much experiences with Solaris OS.
I wonder whether we need to disable this test on Solaris or add a check of the file system type to determine whether it is either NFS or UFS?

You might be able to check using FileStore#type() [1].



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

More information about the nio-dev mailing list