Re: Proposal for adding O_DIRECT support into JDK 9

2016-11-06 Thread Thomas Stüfe
On Sat, Nov 5, 2016 at 6:42 PM, David Holmes wrote: > Hi Paul, > > On 5/11/2016 2:58 AM, Paul Sandoz wrote: > >> Hi Lucy, >> >> I am struggling to find an entirely satisfactory location to place a >> method such as getPageSize, but java.lang.Runtime seems less worse than >> other places :-) >> >

RE: Proposal for adding O_DIRECT support into JDK 9

2016-11-06 Thread Lu, Yingqi
Another approach might be use ioctl to get the block size and use that as the alignment value. I think ioctl is available on UNIX based OSes (please chime in if I miss any OS here) and has a similar call for Windows named DeviceIoControl. The request code of ioctl is different from OS to OS, but

Re: Proposal for adding O_DIRECT support into JDK 9

2016-11-06 Thread Alan Bateman
On 06/11/2016 15:51, Lu, Yingqi wrote: Another approach might be use ioctl to get the block size and use that as the alignment value. I think ioctl is available on UNIX based OSes (please chime in if I miss any OS here) and has a similar call for Windows named DeviceIoControl. The request code

Re: Proposal for adding O_DIRECT support into JDK 9

2016-11-06 Thread Lu, Yingqi
Hi Alan, Thank you very much for your suggestion. FileStore is a better home for the alignment value. We will use It in our next version of the patch and update here for review soon. Thanks, Lucy Sent from my iPhone On Nov 6, 2016, at 9:04 AM, Alan Bateman mailto:[email protected]>> wro

RFR[9] JDK-8158916: ProblemList.txt update for com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java

2016-11-06 Thread John Jiang
Hi, com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java is associated to 8141370 in ProblemList, though issue JDK-8141370 has been resolved. In fact, the fix for JDK-8141370 extracted some codes from com/sun/jndi/ldap/LdapTimeoutTest.java to create com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java, and p