8144498: aarch64: large code cache generates SEGV
Summary: Fix pd_call_destination to use is_call_at rather than is_call
Reviewed-by: aph, adinn
--- a/hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp Tue Dec 15 13:42:13 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp Tue Dec 08 14:26:17 2015 +0000
@@ -59,7 +59,7 @@
address Relocation::pd_call_destination(address orig_addr) {
assert(is_call(), "should be a call here");
- if (is_call()) {
+ if (NativeCall::is_call_at(addr())) {
address trampoline = nativeCall_at(addr())->get_trampoline();
if (trampoline) {
return nativeCallTrampolineStub_at(trampoline)->destination();