On 1/3/11 6:21 PM, Alexander Christian wrote:
Am 03.01.2011 17:32, schrieb Emmanuel Lecharny:
<Snip/>
yes, sounds like the select() call immediately exits, and loop. This
is a JVM bug (basically, the select() returns with no selectionKey
selected, so we immediately do another select(), etc)
Do you think this is a general OpenJDK bug, or a special bug that is
only related to the ARM CPU build of the openjdk? I currently do not
have any other system with openjdk to verify.
It was a bug in Java 1.6.0_XX where XX < 18 (and even then, I don't know
for sure if it has been fixed later). So it's not about OpenJDK only.
However, this is a bug that is triggered in rare occasions, so i'm a bit
surprised that it occurs immediately on ARM port.
To me, it sounds like a ARM port bug...
PS : a quick search on google for "NIO select spinning" gives you those
links :
http://bugs.sun.com/view_bug.do?bug_id=6403933
http://old.nabble.com/Comet---Selector-spinning---100--CPU-td23142529.html
https://issues.apache.org/jira/browse/DIRMINA-678
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com