Date: Fri, 9 Mar 2007 12:18:28 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-emulation@FreeBSD.org Cc: Alexander Leidinger <Alexander@Leidinger.net>, kpeter@melbpc.org.au Subject: Re: linux-2.6.16 emulation: linux-sun-jdk1.6.0 program problem Message-ID: <200703091218.39593.jkim@FreeBSD.org> In-Reply-To: <20070309102300.GA31784@stud.fit.vutbr.cz> References: <45C46416.3020406@melbpc.org.au> <20070309105622.cn1tpp1crw4gsw4g@webmail.leidinger.net> <20070309102300.GA31784@stud.fit.vutbr.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 09 March 2007 05:23 am, Divacky Roman wrote: > > >3. Running ftpserver (java application) displays a GUI window > > > but terminates abruptly when the server is started (syscall > > > epoll_create not implemented). > > > > epoll* is not implemented. So this is expected (and gives more > > priority to epoll). > > I dont understand why it should use epoll only with 2.6. Epoll has > been around for some 5 years now... I guess Sun didn't think so. Check out: http://java.sun.com/javase/6/docs/technotes/guides/io/enhancements.html#6 'A new java.nio.channels.SelectorProvider implementation that is based on the Linux epoll event notification facility is included. The epoll facility is available in the Linux 2.6, and newer, kernels. The new epoll-based SelectorProvider implementation is more scalable than the traditional poll-based SelectorProvider implementation when there are thousands of SelectableChannels registered with a Selector. The new SelectorProvider implementation will be used by default when the 2.6 kernel is detected. The poll-based SelectorProvider will be used when a pre-2.6 kernel is detected.' BTW, it was backported to 1.5 and available from Update 10: http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_10 So, you will notice the same problem from 1.5.0_10, which is already in ports tree for almost three months. Jung-uk Kim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703091218.39593.jkim>