Mercurial > hg > release > icedtea7-forest-2.6 > hotspot
changeset 6697:65b809089544 icedtea-2.6.17pre01
8218185, PR3669: aarch64: missing LoadStore barrier in TemplateTable::putfield_or_static
Reviewed-by: aph
Contributed-by: lunliu93@gmail.com
author | fyang |
---|---|
date | Wed, 20 Feb 2019 14:43:02 +0000 |
parents | b1fe72ea0fdd |
children | f3820315a79d |
files | src/cpu/aarch64/vm/templateTable_aarch64.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/templateTable_aarch64.cpp Thu Jan 03 13:53:15 2019 +0800 +++ b/src/cpu/aarch64/vm/templateTable_aarch64.cpp Wed Feb 20 14:43:02 2019 +0000 @@ -2682,7 +2682,8 @@ { Label notVolatile; __ tbz(r5, ConstantPoolCacheEntry::is_volatile_shift, notVolatile); - __ membar(MacroAssembler::Membar_mask_bits(MacroAssembler::StoreStore)); + __ membar(MacroAssembler::Membar_mask_bits(MacroAssembler::StoreStore | + MacroAssembler::LoadStore)); __ bind(notVolatile); }