request for review: 7184932: Remove the temporary Selector usage in the NIO socket adapters
Alan Bateman
Alan.Bateman at oracle.com
Fri Aug 17 02:00:15 PDT 2012
On 15/08/2012 22:09, Rob McKenna wrote:
> Hi folks,
>
> Looking for a codereview of this change. Basically we're looking to
> avoid the use of temporary selectors in socket adapters. This should
> result in resource usage improvements for users who make extensive use
> of these adapters in multiple threads.
>
> http://cr.openjdk.java.net/~robm/7184932/webrev.02/
> <http://cr.openjdk.java.net/%7Erobm/7184932/webrev.02/>
>
> Thanks,
>
> -Rob
One other thing, now that this is extended to DatagramSocketAdpator and
ServerSocketChannelAdaptor then it you should be able to remove
getTemporarySelector and friends from sun.nio.ch.Util as I don't think
they are used anywhere else.
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20120817/ac9eab20/attachment.html
More information about the nio-dev
mailing list