Hi,

This is on OS X 10.4.8 using a rather old JDK (upgrading that is maybe 
difficult).  I tried the following variations:

- Oleg's changes in revision 614701

- -Djava.nio.preferSelect=true

- a very hacky workaround (to see if it worked) where I had the BaseIOReactor 
service a set of connections that want to wake up during its execute() method

I was unable to reproduce my hang with either the preferSelect or the hacky 
thing I did, but I did still see the same hang with the changes in 614701.

I can't easily upgrade the JDK on these machines, but other desktop machines 
running OSX 10.5.1 with 10.5.0_13 are unable to reproduce the problem.  So old 
JDK + kqueue maybe bad.

Thanks,
David Koski

-- Sam Berlin wrote : 
There were definitely bugs with AbstractSelector & SelectionKeys that
could cause deadlocks to happen in rare scenarios.  See
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4744057 for one.
Newer versions of the JDK have fixed this.  There were also problems
on OS X if using the default selector (kqueue) that caused the entire
system to hang.  I'm not positive if newer releases have fixed this,
as we switched to not using kqueue (-Djava.nio.preferSelect=true).

Sam


--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/message/[email protected]/8447337.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to