All IO operations in JRuby need to mirror MRI's heavy use of select for all
operations
--------------------------------------------------------------------------------------
Key: JRUBY-1453
URL: http://jira.codehaus.org/browse/JRUBY-1453
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Priority: Critical
Fix For: JRuby 1.1.0
Because MRI is green threaded, almost all IO operations it performs are
performed asynchronously using select. This allows it to schedule new green
threads, and also allows threads to safely receive events without damaging
their associated IO channels/streams/descriptors.
JRuby's IO operations must be globally examined and in most cases it's likely
that instead of a blocking call we should be using a nonblocking call combined
with a selector. See the fix for JRUBY-1452 for an example of such a change
(though no guarantees on whether it's kosher NIO or not).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email