ARM : fix bug in indy code caused by the ARM JIT optimization patch

Andrew Haley aph at redhat.com
Thu Jun 7 04:04:21 PDT 2012


On 06/07/2012 09:17 AM, Andrew Dinn wrote:
> The recent ARM JIT optimization patch (ed's big patch) reassigned the
> register holding the current Java thread. This inadvertently broke
> invokedynamic calls because the call to
> CppInterpreter::method_handle_entry from fast_method_handle_entry is
> relying upon the thread handle already being in argument register r2. A
> move from the thread register to r2 before making the call to method
> method_handle_entry fixes the problem.

OK, thanks.

Andrew.




More information about the distro-pkg-dev mailing list