RFR for JDK-6963118 Intermittent test failure: test/java/nio/channels/Selector/Wakeup.java fail intermittently (win)

Alan Bateman Alan.Bateman at oracle.com
Fri Jan 10 11:43:24 PST 2014


On 10/01/2014 19:11, srikalyan wrote:
> Hi Alan, please find the new webrev at 
> http://cr.openjdk.java.net/~srikchan/Regression/6963118-Wakeup-webrev-V2/  
> , this includes the refactoring you did + timing adjustments. Ideally 
> with the fix the test should never fail which holds true on all 
> platforms except windows(though failures reduced to 2/1000 as opposed 
> to 10/1000(per our experiments)).
Thanks for checking. So if it's still failure 1/500 times hen we'll need 
to leave it excluded on Windows until we've solved the underlying issue.

>
> Possible root cause:
> There are atleast 2 places in the windows specific Selector 
> implementation(WindowsSelectorImpl) which has wakeup() calls, this is 
> not the case in Solaris/Linux implementations(DevPollSelectorImpl and 
> EPollSeclectorImpl). It would be helpful if some from NIO team can 
> explain when the wakeup() in these 2 places are invoked which i 
> suspect could cause spurious wakeup from select(during double wakeup 
> phase of test/java/nio/channels/Selector/Wakeup.java on windows).
Okay, I will try to look at this soon.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20140110/49b5dff6/attachment.html 


More information about the nio-dev mailing list