RFC on 8165823: (se) EPollArrayWrapper throws NPE if limits.conf set to 65536 and fd=65536
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Oct 5 15:37:23 UTC 2016
On Oct 5, 2016, at 6:50 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 04/10/2016 19:04, Brian Burkhalter wrote:
>> The jdk7u and jdk9-dev implementatinos of EPollArrayWrapper.java are identical aside from the more recent copyright year in the latter.
>>
> Thanks for checking, I didn't realize all the changes in this area had been back-ported. I've looked at the bug report and it is a bit confusing. It was originally reported as being observed with 8u102 but the java -version output is a build from jdk7u-dev I think.
Indeed it is confusing. It was also originally reported against OS X which it is clearly not.
> In any case, if ulimit -Hn is 64k then the highest file descriptor will be 65535. You may be right that they are change the limit dynamic, I can't otherwise explain the exception.
I’m not sure what to do about it other than something like this:
http://cr.openjdk.java.net/~bpb/8165823/webrev.00/
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20161005/b0dd1bb2/attachment.html>
More information about the nio-dev
mailing list