OpenJDK / jdk / jdk
changeset 53928:20ee41e8740d
8219635: aarch64: missing LoadStore barrier in TemplateTable::fast_storefield
Reviewed-by: aph
Contributed-by: patrick@os.amperecomputing.com
author | fyang |
---|---|
date | Mon, 25 Feb 2019 18:50:29 +0800 |
parents | 03924ad3f4d0 |
children | ca23d3475af0 |
files | src/hotspot/cpu/aarch64/templateTable_aarch64.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp Tue Feb 26 13:14:26 2019 -0500 +++ b/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp Mon Feb 25 18:50:29 2019 +0800 @@ -2981,7 +2981,7 @@ { Label notVolatile; __ tbz(r3, ConstantPoolCacheEntry::is_volatile_shift, notVolatile); - __ membar(MacroAssembler::StoreStore); + __ membar(MacroAssembler::StoreStore | MacroAssembler::LoadStore); __ bind(notVolatile); }