JDK 9 RFR of 8153192: (se) Selector.select(long) uses wrong timeout after EINTR (lnx)
Brian Burkhalter
brian.burkhalter at oracle.com
Tue May 3 22:13:01 UTC 2016
Please review at your convenience.
Issue: https://bugs.openjdk.java.net/browse/JDK-8153192
Patch: http://cr.openjdk.java.net/~bpb/8153192/webrev.00/
Pass what remains of the initial timeout to epoll_wait(2) (Linux) and ioctl(7d) (Solaris) instead of the original un-decremented timeout value. The problem was initially called to attention by [1].
The other related files of this nature do not seem to contain this error..
Thanks,
Brian
[1] http://mail.openjdk.java.net/pipermail/nio-dev/2016-March/003612.html
More information about the nio-dev
mailing list