8144498: aarch64: large code cache generates SEGV
authorenevill
Tue, 08 Dec 2015 14:26:17 +0000
changeset 35121 e8900e5763ff
parent 35120 3eb2322241a1
child 35122 3f7b7fe1bfcb
child 35123 b0b89d83bcf5
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
hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp
--- 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();