From 5d2f6e737bdd7bba293e153ea08e27c643ded37e Mon Sep 17 00:00:00 2001 From: Patric Hedlin Date: Mon, 10 Aug 2020 17:36:46 +0200 Subject: [PATCH] 8250848: [aarch64] nativeGotJump_at() missing call to verify() Reviewed-by: aph --- .../cpu/aarch64/nativeInst_aarch64.hpp | 196 ++++++++---------- 1 file changed, 91 insertions(+), 105 deletions(-) diff --git a/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp b/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp index da8ae97887a..d40c533a82c 100644 --- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp @@ -53,7 +53,7 @@ class NativeCall; class NativeInstruction { friend class Relocation; friend bool is_NativeCallTrampolineStub_at(address); - public: +public: enum { instruction_size = 4 }; @@ -62,12 +62,16 @@ class NativeInstruction { return uint_at(0); } - bool is_blr() const { return (encoding() & 0xff9ffc1f) == 0xd61f0000; } // blr(register) or br(register) - bool is_adr_aligned() const { return (encoding() & 0xff000000) == 0x10000000; } // adr Xn,