Description
uintptr_t is wrongly reffer as uint64_t
the below patch should fix it, according to original patch 8248414
diff --git a/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp b/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
index ac9230e982..2ef849b66c 100644
--- a/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
+++ b/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
@@ -630,10 +630,10 @@ typedef enum {
class Assembler : public AbstractAssembler {
#ifndef PRODUCT
- static const uint64_t asm_bp;
+ static const uintptr_t asm_bp;
void emit_long(jint x) {
- if ((uint64_t)pc() == asm_bp)
+ if ((uintptr_t)pc() == asm_bp)
asm volatile ("nop");
AbstractAssembler::emit_int32(x);
the below patch should fix it, according to original patch 8248414
diff --git a/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp b/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
index ac9230e982..2ef849b66c 100644
--- a/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
+++ b/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
@@ -630,10 +630,10 @@ typedef enum {
class Assembler : public AbstractAssembler {
#ifndef PRODUCT
- static const uint64_t asm_bp;
+ static const uintptr_t asm_bp;
void emit_long(jint x) {
- if ((uint64_t)pc() == asm_bp)
+ if ((uintptr_t)pc() == asm_bp)
asm volatile ("nop");
AbstractAssembler::emit_int32(x);