RFR: 8146678: aarch64: assertion failure: call instruction in an infinite loop
edward.nevill at gmail.com
Fri Jan 8 11:46:57 UTC 2016
Please review the following 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.
More information about the hotspot-compiler-dev