Proposal for adding O_DIRECT support into JDK 9

Lu, Yingqi yingqi.lu at intel.com
Fri Sep 8 20:41:28 UTC 2017


Hi Brian,

Please find the most recent version of the patch at http://cr.openjdk.java.net/~kkharbas/8164900/webrev.09/

In this version, following issues get addressed:


1.      Fixed the issue with compilation on AIX

2.      Fixed the issue on the tests with loading the native library

Thanks,
Lucy

From: Brian Burkhalter [mailto:brian.burkhalter at oracle.com]
Sent: Friday, September 08, 2017 11:54 AM
To: Lu, Yingqi <yingqi.lu at intel.com>
Cc: Volker Simonis <volker.simonis at gmail.com>; nio-dev at openjdk.java.net
Subject: Re: Proposal for adding O_DIRECT support into JDK 9

It's in there.

Thanks,

Brian

On Sep 8, 2017, at 9:45 AM, Lu, Yingqi <yingqi.lu at intel.com<mailto:yingqi.lu at intel.com>> wrote:


The change you refer to is the following one or something else?

--- old/make/gensrc/GensrcMisc.gmk            2017-09-06 01:38:06.005049364 -0400
+++ new/make/gensrc/GensrcMisc.gmk       2017-09-06 01:38:05.885049363 -0400
@@ -63,7 +63,7 @@
define generate-preproc-src
             $(call MakeDir, $(@D))
             ( $(NAWK) '/@@END_COPYRIGHT@@/{exit}1' $< && \
-              $(CPP) $(CPP_FLAGS) $(SYSROOT_CFLAGS) $< \
+             $(CPP) $(CPP_FLAGS) $(SYSROOT_CFLAGS) $(CFLAGS_JDKLIB) $< \
                   2> >($(GREP) -v '^$(<F)$$' >&2) \
                   | $(NAWK) '/@@START_HERE@@/,0' \
                   |  $(SED) -e 's/@@START_HERE@@/\/\/ AUTOMATICALLY GENERATED FILE - DO NOT EDIT/' \

If it is above, it is already in the http://cr.openjdk.java.net/~kkharbas/8164900/webrev.08/make/gensrc/GensrcMisc.gmk.patch. If it is not, please let me know.

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


More information about the nio-dev mailing list