Is saving the stack pointer around method handle calls still needed?
Christian Thalinger
christian.thalinger at oracle.com
Thu Apr 3 21:30:35 UTC 2014
On Apr 2, 2014, at 6:47 PM, Krystal Mok <rednaxelafx at gmail.com> 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
More information about the hotspot-compiler-dev
mailing list