Patrick Wright wrote:
>> 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). 
I think that if Sun does tail and others don't follow..... its a 
competitive thing.. take G1 for example.

> 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."
>   
a passive kick in mechanism might get you to what you want faster... 
it's working for other things ;-)

Kirk


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

Reply via email to