[aarch64-port-dev ] icedtea7-aarch64 port changeset 5662 : make static stubs load methodOop in cpool to avoid problems at GC
Andrew Haley
aph at redhat.com
Sat Oct 25 08:26:26 UTC 2014
On 21/10/14 11:18, Andrew Dinn wrote:
> jdk7 needs to insert method oops for static/virtual calls using movoop
> instead of movptr. the same applies for static stubs. we would like to
> use a simple mov immediate with no oop record to do the patching but
> that falls foul of the reloc code.
>
> we can use a mov immediate /with/ an oop record for the static/virtual
> call. however if we do that for the stub load then the oop does not
> get updated and a GC causes the patched stub oop to be reverted to
> movz/k 0x0000. in order to avoid this we have to do the stub oop load
> via the cpool using a ldr.
This does not sound right. Do you know why the patching doesn't
work?
Andrew.
More information about the aarch64-port-dev
mailing list