Time to reconsider m:n or green threading options?
Steven Shaw
steshaw at gmail.com
Mon Jul 7 03:42:59 PDT 2008
2008/6/24 John Rose <John.Rose at sun.com>:
> It would be great if we had really lightweight continuations, with a JVM
> scheduler (Scheme calls them engines, I think) which keeps running the next
> one. The part I can't see yet is how to make stack-based and heap-based
> activation records play together efficiently. (Maybe you JIT two versions
> of every method, with inlining to remove overheads as usual?)
>
Is it disastrous for performance to heap allocated all activations? Perhaps
it could be an JVM option. Perhaps activations could be abstractly
considered "heap allocated" and have the JVM stack allocated when possible.
Is the much research in this area?
Cheers,
Steve.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20080707/c0956a3d/attachment.html
More information about the mlvm-dev
mailing list