https://bz.apache.org/bugzilla/show_bug.cgi?id=63916

--- Comment #22 from Rainer Jung <rainer.j...@kippdata.de> ---
According to the Javadoc, the Selector has various impls and is encapsulated
via a SelectorProvider. The chosen provider decides about which system api is
being used (poll, epoll, event ports, kqueue, ...).

I added

System.out.println("Selector Provider: " + selector.provider());

to the beginning of the run() method of the Poller and got:

Linux:
Selector Provider: sun.nio.ch.EPollSelectorProvider@5ff0e400

Solaris:
Selector Provider: sun.nio.ch.DevPollSelectorProvider@3927e6ad

Maybe one can check the output for FreeBSD? Maybe it falls bac to poll instead
of kqueue on FreeBSD? If this would be true, we could check, whther there is a
better provider for FreeBSD and try to choose it explicitly.

Just my 0.01 cents.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to