Proposal for adding O_DIRECT support into JDK 9

Brian Burkhalter brian.burkhalter at oracle.com
Thu Sep 7 20:52:51 UTC 2017


On Sep 7, 2017, at 12:41 PM, Lu, Yingqi <yingqi.lu at intel.com> wrote:

> I tested your patch and it works on both MacOS and Linux both. I will include it in the next version of the patch.
>  
> Please also let me know if you see anything missing from the build+regession test.

This patch fixes the build problem on all Unix platforms, but when I run the Direct I/O tests locally on macOS I get this error

java.lang.UnsatisfiedLinkError: Native Library /Users/bpb/Work/CoreLibs/jdk/jdk10/dev/build/macosx-x86_64-normal-server-fastdebug/support/test/jdk/jtreg/native/lib/libDirectIO.dylib already loaded in another classloader

for the four read and writes tests. The DirectIOTests passes.

Thanks,

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


More information about the nio-dev mailing list