hg: jdk9/dev/jdk: 8153192: (se) Selector.select(long) uses wrong timeout after EINTR (lnx)

brian.burkhalter at oracle.com brian.burkhalter at oracle.com
Wed May 4 15:06:50 UTC 2016


Changeset: 5dd02e390cf8
Author:    bpb
Date:      2016-05-04 08:04 -0700
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/5dd02e390cf8

8153192: (se) Selector.select(long) uses wrong timeout after EINTR (lnx)
Summary: Pass what remains of the initial timeout to epoll_wait(2) (Linux) and ioctl(7d) (Solaris) instead of the original un-decremented timeout value.
Reviewed-by: alanb, rriggs

! src/java.base/linux/native/libnio/ch/EPollArrayWrapper.c
! src/java.base/solaris/native/libnio/ch/DevPollArrayWrapper.c



More information about the jdk9-dev-changes mailing list