Issue with Windows IOCP not ***really*** writing data

Alan Bateman Alan.Bateman at Sun.COM
Fri Dec 25 13:20:28 PST 2009


Joel,

I'm aware of any bugs that would cause the problem you are seeing. Do 
you think you could create a small test case to demonstrate the issue? 
Also can you say which jdk7 build this is, and the edition of Windows?

As regards the note on keep alive - that is only a concern if you are 
using your own thread pool and are on an older version of Windows 
(Windows Server 2003 and Windows XP). Even there isn't not really an 
issue for AsynchronousFileChannel because I/O operations tend to 
complete very quickly. In any case, ThreadPoolExecutor defines the 
setKeepAlive method to set the time that threads can be idle before they 
terminate.

-Alan.


More information about the nio-discuss mailing list