changeset 35121:e8900e5763ff

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
author enevill
date Tue, 08 Dec 2015 14:26:17 +0000
parents 3eb2322241a1
children 3f7b7fe1bfcb b0b89d83bcf5
files hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();