7039186: (ch) EPoll based asynchronous I/O implementation should be portable to linux-arm and linux-ppc

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 27 03:08:27 PDT 2011


The Linux/epoll implementation of the AsynchronousChannelProvider has 
its own definition of the epoll_event structure - this stems from early 
in jdk7 when we were still required to build on 2.4 based distributions. 
The definition of epoll_event isn't right for non-x86 platforms and 
means all tests for this API are failing on linux-arm and linux-ppc (our 
embedded team port to these architectures). The simplest solution is to 
just get rid of this definition and include epoll.h (which we should 
have done ages ago). While we're at it, we can also change the inotify 
code to include inotify.h. The webrev with the changes is here:

http://cr.openjdk.java.net/~alanb/7039186/webrev/

Thanks,
Alan.


More information about the nio-dev mailing list