Re: NIO based SocketImpl to replace legacy PlainSocketImpl

2019-04-08 Thread Alan Bateman
Just a quick summary on where we are on this effort. I've submitted the JEP [1] so it can be considered for the roadmap. There wasn't any additional feedback from the draft that I sent here in February. In the mean-time, the "preparatory" changes have been pushed to jdk/jdk: JDK-8220493: Pre

Re: NIO based SocketImpl to replace legacy PlainSocketImpl

2019-02-21 Thread Alan Bateman
Just another update on the effort to replace the legacy PlainSocketImpl. The changes in the sandbox are in good shape. I spent a bit of time comparing the behavior differences between the old and new implementations and I haven't found anything significant so far. Sergey Kuksenko has improved t

Re: NIO based SocketImpl to replace legacy PlainSocketImpl

2019-02-11 Thread Alan Bateman
On 25/01/2019 14:08, Alan Bateman wrote: I've created a branch in the sandbox, named "niosocketimpl-branch", with a prototype SocketImpl implementation based on the infrastructure in sun.nio.ch package that supports the NIO channel implementations. The branch also includes the changes to java

Re: NIO based SocketImpl to replace legacy PlainSocketImpl

2019-01-29 Thread Alan Bateman
On 29/01/2019 10:21, Bernd Eckenfels wrote: How will that look like on Windows, will it use IO Completion Ports? I guess scalability becomes much more of an issue with typical thousands of classic sockets. What’s the expected performance of this? The blocking IO had a lot less latency compare

Re: NIO based SocketImpl to replace legacy PlainSocketImpl

2019-01-29 Thread Bernd Eckenfels
-...@openjdk.java.net; OpenJDK Network Dev list Betreff: Re: NIO based SocketImpl to replace legacy PlainSocketImpl Nice to see this, hope it works out. Ismael On Fri, Jan 25, 2019, 6:11 AM Alan Bateman mailto:alan.bate...@oracle.com> wrote: I've created a branch in the sandbox, named "niosock

Re: NIO based SocketImpl to replace legacy PlainSocketImpl

2019-01-29 Thread Ismael Juma
Nice to see this, hope it works out. Ismael On Fri, Jan 25, 2019, 6:11 AM Alan Bateman > I've created a branch in the sandbox, named "niosocketimpl-branch", with > a prototype SocketImpl implementation based on the infrastructure in > sun.nio.ch package that supports the NIO channel implementati