[aarch64-port-dev ] RFR: 8143067: aarch64: guarantee failure in javac (adrp out of range in relocation)

Andrew Haley aph at redhat.com
Tue Nov 17 15:34:28 UTC 2015


On 11/17/2015 09:56 AM, Edward Nevill wrote:

> Please review the following webrev
> http://cr.openjdk.java.net/~enevill/8143067/webrev

I think this solution is far more complex than it should be.  We could
change it so that if an adrp is out of range for any address in the
code cache (rather than simply from the current PC) the multi-
instruction form is emitted.  That way we won't need far_adrp() and we
won't need all the extra patching code.

Even if we went for all the extra patching, far_adrp() is still
unnecessary: all we have to do is make sure that the target is
reachable from the code cache and do adrp; nop or adrp as necessary.


More information about the hotspot-compiler-dev mailing list