epoll workaround for linux java?

Andrew Gallatin gallatin at cs.duke.edu
Mon Jan 17 21:54:57 UTC 2011


On 01/17/11 07:24, Alexander Leidinger wrote:
> Quoting Andrew Gallatin <gallatin at cs.duke.edu> (from Sun, 16 Jan 2011

>> Last, is there any workaround to be able to use a linux
>> jvm? Perhaps by using a different linux base? What
>> would I be giving up?
>
> Normally it is a combination of linux_base and the sysctl
> compat.linux.osrelease. In our kernel there is a difference between

I think I *may* have found a workaround.  If I start java with the 
argument 
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider
I get much, much, much farther along.

It would still be nice to have epoll support. :)

Drew


More information about the freebsd-emulation mailing list