Is saving the stack pointer around method handle calls still needed?

Krystal Mok rednaxelafx at gmail.com
Thu Apr 3 21:38:31 UTC 2014


Thanks, Chris!
It'd be interesting to see tail calls coming :-)

Regards,
Kris

On Thursday, April 3, 2014, Christian Thalinger <
christian.thalinger at oracle.com> wrote:

>
> On Apr 2, 2014, at 6:47 PM, Krystal Mok <rednaxelafx at gmail.com<javascript:;>>
> wrote:
>
> > Hi compiler team,
> >
> > I'd like to ask if it's still necessary to save the stack pointer around
> method handle calls (invokedynamic/invokehandle). It seems like an artifact
> left from the Ricochet frame implementation which could mess up the stack
> pointer, where as the new LambdaForms implementation shouldn't have that
> problem.
>
> It's not needed anymore.  The last time I talked to John about removing it
> he wanted to keep it for something else but I forgot what it was.  Maybe
> tail calls.
>
> >
> > Could anyone share the history bit about this?
> >
> > Best regards,
> > Kris
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140403/6e62c04f/attachment.html>


More information about the hotspot-compiler-dev mailing list