[aarch64-port-dev ] RFR: 8146678: aarch64: assertion failure: call instruction in an infinite loop

Edward Nevill edward.nevill at gmail.com
Fri Jan 8 11:46:57 UTC 2016


Hi,

Please review the following webrev

http://cr.openjdk.java.net/~enevill/8146678/webrev/

JIRA Issue: https://bugs.openjdk.java.net/browse/JDK-8146678

This fixes an assertion in Relocation::pd_set_call_destination

assert(addr() != x, "call instruction in an infinite loop"); 

which triggers following 

8146286: aarch64: guarantee failures with large code cache sizes on jtreg test java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java 

The reason is that this change deliberately generates BL to self to avoid BL going out of range.

The fix is to remove the assertion as it is no longer valid.

Thanks,
Ed.




More information about the aarch64-port-dev mailing list