Problems persist in KQueueSelectorProvider (Mac) in 7u6 ea

Alan Bateman Alan.Bateman at oracle.com
Wed Aug 15 06:42:50 PDT 2012


On 13/08/2012 22:50, Jason Greene wrote:
> On Aug 13, 2012, at 4:42 PM, Alan Bateman<Alan.Bateman at oracle.com>  wrote:
>
>> :
>> Thanks for trying that out, it's good to hear that the problems have gone away. On the tight loop theory then can you check if a small sleep, or may a Thread.yield, causes the dup2 hang to go away too?
> Sure I can give that a try. I'll try to get the dump you requested earlier if not.
That would be good.

> :
>> On the patch, are you submitting it here as a contribution (once you are done with your testing)? I haven't looked at it closely yet but I think it is close to what we have in the epoll Selector.
> Yes I just reused the same approach that epoll is using with slight alterations, since it seems to work well. The patch if useful is a contribution, although as you noticed its mostly a derivative.
>
It make sense too. I've created a bug to track this:

7191587: (se) SelectionKey.interestOps does not defer changing the 
interest set to the next select [macosx]

and once you are done with your testing we will look to get this into 
jdk8. Once we are satisfied they we can seek approval for 7u8.

-Alan



More information about the nio-dev mailing list