this was discussed on the posse podcast some times: tail recursion on the jvm.
yesterday i attended an Event with Christian Thalinger (http:// blogs.sun.com/twisti/ ) speaking. according to him tailcall optimisations are already committed to the jdk7 hotspot http://hg.openjdk.java.net/mlvm/mlvm/hotspot/log?rev=tailc I'm not 100% sure if this support will be transparent or if the compiler will need to explicitly emit a "tailcall" bytecode instruction before the method call. someone with more deep knowledge should comment on this. Arnold Schweighofer contributed this some months ago. - see http://www.ssw.uni-linz.ac.at/Research/Papers/Schwaighofer09Master/ it looks like --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" 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/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
