Proposal for adding O_DIRECT support into JDK 9
Lu, Yingqi
yingqi.lu at intel.com
Thu Sep 7 22:17:50 UTC 2017
Hi Brian,
That is very true! I forgot about the solaris check. My bad!
I do not see the issue on my Linux box. I am not familiar with the jtreg framework. One easy way I can think of is to have the 4 read/write tests independent of DirectIOTest case by having their own checks. Will this work?
Thanks,
Lucy
Sent from my iPhone
On Sep 7, 2017, at 3:05 PM, Brian Burkhalter <brian.burkhalter at oracle.com<mailto:brian.burkhalter at oracle.com>> wrote:
Hi Lucy,
Correct but the other tests call DirectIOTest.isDirectIOSupportedByFS() which causes the static initializer of DirectIOTest to load the library.
Thanks,
Brian
On Sep 7, 2017, at 2:36 PM, Lu, Yingqi <yingqi.lu at intel.com<mailto:yingqi.lu at intel.com>> wrote:
I might be missing something here, but I think the four read/write tests do not need the libDirectIO.dylib file? Only DirectIOTest.java needs the native library.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170907/73894b07/attachment.html>
More information about the nio-dev
mailing list