> why do they have to be exposed? Isn't tail recursion and implementation
> detail? And an optimization at that?
>
> Why would others have to adopt? Not all have adopted CMS GC or survivor
> spaces?

I believe the idea is to force/require a tail call optimization,
rather than just hoping a JVM heuristic will kick in (assuming I
understand correctly). See
http://blogs.sun.com/jrose/entry/tail_calls_in_the_vm for a more
detailed discussion. To quote from Arthur's email to the MLVM mailing
list (which I linked to previously): "To mark a call as tail call the
programmer emits a 'wide' byte code before the various invoke...
instructions."


HTH
Patrick

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to 
jvm-languages+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to