Question about Selector on Solaris for bug INTJDK-7606201

Eric Wang yiming.wang at oracle.com
Tue Dec 10 07:26:24 PST 2013


Including nio-dev to get more answers...

Thanks,
Eric
On 2013/12/10 16:38, Eric Wang wrote:
> Hi Alan,
>
> I'm working on the sqe bug fix 
> https://bugs.openjdk.java.net/browse/INTJDK-7606201 of the test
> http://sqe-hgi.us.oracle.com/hg/index.cgi/testbase/javase/functional/8/libs/file/93af2bd4c8ea/src/java_nio/SelectorTest/TestClose/TestClose.java 
>
>
> This failure only happened on solaris intermittently in aurora nightly:
> http://aurora-ds.us.oracle.com:9500/runs%2F329074.CORELIBS-JDK8-NIGHTLY-SQE-8-20131209132452173/results/ResultDir/TestClose/TestClose.log 
>
>
> I tried to reproduce it on host sc11136394.us by executing 200 times, 
> it failed about 30 times.
>
> The issue is the CancelledKeyException thrown which is not expected. 
> By checking the above log, there are total 101 channels created by 
> client thread and closed by close thread (checking the word 
> "[2013-12-09T10:32:05.38] Size 101"). but there are 102 channels are 
> selected by Selector.(counting the word "About to Select()".)
>
> I'm not sure whether it is a correct behavior, i supposed the Selector 
> cannot select more channels than created.
>
> Thanks,
> Eric
>
>
>
>



More information about the nio-dev mailing list