# HG changeset patch # User aph # Date 1524508361 -3600 # Node ID 3325ee1c0fc4f5d8a325a7608de2c5f625bc4b09 # Parent 1da3a463a49948662726aa822165f221231b8f02 8200556: AArch64: assertion failure in slowdebug builds Reviewed-by: adinn diff -r 1da3a463a499 -r 3325ee1c0fc4 src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp --- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp Tue Apr 24 09:35:08 2018 +0200 +++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp Mon Apr 23 19:32:41 2018 +0100 @@ -368,7 +368,7 @@ CodeBuffer cb(code_pos, instruction_size); MacroAssembler a(&cb); - a.mov(rscratch1, entry); + a.movptr(rscratch1, (uintptr_t)entry); a.br(rscratch1); ICache::invalidate_range(code_pos, instruction_size);