JDK 9 RFR of 8153192: (se) Selector.select(long) uses wrong timeout after EINTR (lnx)

Alan Bateman Alan.Bateman at oracle.com
Wed May 4 11:58:45 UTC 2016



On 03/05/2016 23:13, Brian Burkhalter wrote:
> 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..
>
>
This looks okay to me.

-Alan.


More information about the nio-dev mailing list