RFR - 8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9

Kenji Kazumura kzr at jp.fujitsu.com
Wed Mar 30 05:31:44 UTC 2016


The result with EventPortSelectorProvider is almost same as
with PollSelectorProvider. This result is good for me.

Let me make sure that the provider which will be removed form JDK 9 is
only PollSelectorProvider but not EventPortSelectorProvider.
Is it right ?

 -Kenji Kazumura



In message <20160324.203604.397507988.kzr at jp.fujitsu.com>
   Re: RFR - 8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9
   Kenji Kazumura <kzr at jp.fujitsu.com> wrote:

> Hi,
> 
> I will try to use EventPortSelectorProvider and
> see if the performance is changed.
> 
> -Kenji Kazumura
> 
> 
> 
> In message <56F3CD6F.2080701 at oracle.com>
>    Re: RFR - 8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9
>    Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
>> On 24/03/2016 07:46, Kenji Kazumura wrote:
>>> Alan,
>>>
>>> I did not use sun.nio.ch.EventPortSelectorProvider
>>> but use sun.nio.ch.PollSelectorImpl.
>>>
>>> -Kenji Kazumura
>>>
>> It would be good to get an understanding of what the performance issue
>> is. I recall we had issues with the /dev/poll driver where there was
>> contention on a mutex in the Solaris kernel. This was one of the
>> motives for EventPortSelectorProvider. Given that /dev/poll is legacy
>> now then I think we should be looking to have
>> EventPortSelectorProvider be the default on Solaris now.
>> 
>> -Alan
>> 


More information about the nio-dev mailing list