Utilize MLVM coroutines in Enumerator and Fiber -----------------------------------------------
Key: JRUBY-5461 URL: http://jira.codehaus.org/browse/JRUBY-5461 Project: JRuby Issue Type: Improvement Components: Core Classes/Modules Reporter: Charles Oliver Nutter Attachments: coro_fibers.patch This bug will track work to integrate support for Lukas Stadler's JVM coroutines (part of the MLVM family of projects) into Enumerator#next/rewind and Fiber. Currently both features are implemented using native threads. This works, but makes them considerably heavier than they ought to be. Lukas's work to add coroutines to the JVM makes it possible for us to have very efficient coroutine-like libraries like Enumerator#next and Fiber. We should incorporate support for his work, conditionally loaded only when it is available. I'm attaching a coroutine-based-Fibers patch provided by Lukas. This is an old patch that needs updating, but it may not take too much to do that. We also would need to isolate this and have a thread-based impl that we use on non-coro JVMs. There's also some early work in the "coro" branch to make Enumerator#next and Enumerator#rewind use Lukas's coroutines. -- 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