On Sep 9, 2008, at 1:19 PM, Jochen Theodorou wrote:

> But this opens for me an interesting aspect, a possible cause of
> trouble... whenever such stack frame based logic is applied we have a
> potential problem with the bootstrap method...

Yes.  The solution would be to get tailcall working, and then have  
the bootstrap method tail-call the final target method.  The effect  
would be the same as if the bootstrap method returned and the caller  
restarted the call... except for race conditions (which is one reason  
we have the current design).

(Normally, the bootstrap method first finds the target method, then  
links it into the call site, though that's optional, and finally  
fulfills the immediate need by calling the target method and  
returning the result.)

-- John

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to