|
Home > Archive > Apache Directory Project > October 2005 > [mina] Very rare NIO selector problem.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[mina] Very rare NIO selector problem.
|
|
| Trustin Lee 2005-10-31, 5:45 pm |
| Hi,
I've found a strange issue related with NIO Selector while testing
ConnectorTest; Selector.select() doesn't block at all sometimes. I'm using
JDK 1.5.0_04. I can reproduce this about once per 40 minutes. It took me a
whole day to find out that Selector.select() doesn't block at all rarely. 
I think it is OK basically, but I'd like to know why.
Any ideas?
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
| |
| Johannes Zillmann 2005-10-31, 5:45 pm |
| Hello,
don't know anything about this, but sounds similiar to
this bug report:
http://bugs.sun.com/bugdatabase/vie...?bug_id=4850373
which for the 1.4.2_02 version....
greetings
joh
--- Trustin Lee <trustin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> schrieb:
> Hi,
>
> I've found a strange issue related with NIO Selector
> while testing
> ConnectorTest; Selector.select() doesn't block at
> all sometimes. I'm using
> JDK 1.5.0_04. I can reproduce this about once per 40
> minutes. It took me a
> whole day to find out that Selector.select() doesn't
> block at all rarely. 
>
> I think it is OK basically, but I'd like to know
> why.
>
> Any ideas?
>
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
>
________________________________________
___________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
| |
| Irving, Dave 2005-10-31, 5:45 pm |
| I seem to remember there being a problem with Selector#select not
blocking back in previous JDK versions - but AFAIK these were later
fixed.
http://bugs.sun.com/bugdatabase/vie...?bug_id=4850373
Probably not related though....
________________________________
From: Trustin Lee [mailto:trustin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: 31 October 2005 14:52
To: Apache Directory Developers List
Subject: [mina] Very rare NIO selector problem.
Hi,
I've found a strange issue related with NIO Selector while testing
ConnectorTest; Selector.select() doesn't block at all sometimes. I'm
using JDK 1.5.0_04. I can reproduce this about once per 40 minutes. It
took me a whole day to find out that Selector.select() doesn't block at
all rarely. 
I think it is OK basically, but I'd like to know why.
Any ideas?
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copiesand inform the sender. Thank you.
| |
| Trustin Lee 2005-10-31, 5:45 pm |
| I already know that the bug has been fixed. This makes me feel so weird.
2005/10/31, Johannes Zillmann <jz8_blue-LWAfsSFWpa4@public.gmane.org>:
>
> Hello,
>
> don't know anything about this, but sounds similiar to
> this bug report:
> http://bugs.sun.com/bugdatabase/vie...?bug_id=4850373
> which for the 1.4.2_02 version....
>
> greetings
> joh
>
> --- Trustin Lee <trustin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> schrieb:
>
>
>
>
>
>
>
>
> ________________________________________
___________________
> Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier
> anmelden: http://mail.yahoo.de
>
--
what we call human nature is actually human habit
--
http://gleamynode.net/
|
|
|
|
|