Mercurial > hg > openjdk > jdk9 > hotspot
changeset 9787:682b031faa67
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 | c036c7f17e09 |
children | 89916e39eb67 abbdb25d068c |
files | src/cpu/aarch64/vm/relocInfo_aarch64.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/relocInfo_aarch64.cpp Tue Dec 15 13:42:13 2015 +0000 +++ b/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();