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

Andrew Dinn adinn at redhat.com
Thu Jun 7 01:17:16 PDT 2012


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.

See attached one line patch for precise details.


regards,


Andrew Dinn
-----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120607/5a24bf34/patch.txt 


More information about the distro-pkg-dev mailing list