Proposal for adding O_DIRECT support into JDK 9

Brian Burkhalter brian.burkhalter at oracle.com
Fri Sep 1 22:17:07 UTC 2017


Hi Lucy,

On Sep 1, 2017, at 3:15 PM, Lu, Yingqi <yingqi.lu at intel.com> wrote:

> When I add back the Windows flags, I forgot to check on the file descriptor. Your patch perfectly solved the issue. Thank you!!

You’re welcome!

> I also patched the jdk/make/test/JtregNative.gmk to make sure the native library is not going to be built on Windows.
>  
> Interestingly, I tried all 4 tests on Windows and they all passed.
> $ ./jtreg/bin/jtreg jdk/test/java/nio/channels/FileChannel/directio
> Directory "JTwork" not found: creating
> Directory "JTreport" not found: creating
> Test results: passed: 4
> Report written to C:\cygwin64\home\ylu41\jdk10-directio-0831\JTreport\html\report.html
> Results written to C:\cygwin64\home\ylu41\jdk10-directio-0831\JTwork
>  
> The test environment is Windows 10 enterprise 64 bit. I did everything through Cygwin.

Weird. I’ll try it again.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170901/7a35badc/attachment.html>


More information about the nio-dev mailing list