Re: [bug] sun.nio.ch.PipeImpl uses local TCP/IP connections

2015-12-03 Thread Brian Burkhalter
On Dec 3, 2015, at 4:45 AM, Matthias-Christian Ott wrote: >> So best to create an issue for it and >> bring a patch to nio-dev to discuss. > > Should I forward the bug reports to nio-dev@ then? Bugs should be filed via [1]. Contributions including fixes may then be submitted according to [2].

Re: [bug] sun.nio.ch.PipeImpl uses local TCP/IP connections

2015-12-03 Thread Matthias-Christian Ott
On 03/12/15 12:35, Alan Bateman wrote: > On 03/12/2015 11:56, Matthias-Christian Ott wrote: >> : >> >> Suggested fix: >> >> sun.nio.ch.PipeImpl should use anonymous pipe. It seems that supported >> versions of Microsoft Windows can create millions of handles and is not >> limited to the dynamic por

Re: [bug] sun.nio.ch.PipeImpl uses local TCP/IP connections

2015-12-03 Thread Alan Bateman
On 03/12/2015 11:56, Matthias-Christian Ott wrote: : Suggested fix: sun.nio.ch.PipeImpl should use anonymous pipe. It seems that supported versions of Microsoft Windows can create millions of handles and is not limited to the dynamic port range. That was the original proposal back in JDK 1.4 wh

[bug] sun.nio.ch.PipeImpl uses local TCP/IP connections

2015-12-03 Thread Matthias-Christian Ott
Expected behaviour: sun.nio.ch.PipeImpl uses anonymous pipes, i.e. CreatePipe and related functions, to create pipes on Microsoft Windows. Actual behaviour: sun.nio.ch.PipeImpl loopback TCP/IP connections to create pipes. Therefore the number of pipes is less or equal to the size of the dynamic