changeset 6717:4a6c33ce009c

8219635, PR3726: aarch64: missing LoadStore barrier in TemplateTable::fast_storefield Reviewed-by: aph Contributed-by: patrick@os.amperecomputing.com
author fyang
date Tue, 16 Apr 2019 04:38:49 +0100
parents 0ce782766a85
children 6e7512a54bc6
files src/cpu/aarch64/vm/templateTable_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/templateTable_aarch64.cpp	Tue Apr 16 04:23:36 2019 +0100
+++ b/src/cpu/aarch64/vm/templateTable_aarch64.cpp	Tue Apr 16 04:38:49 2019 +0100
@@ -2937,7 +2937,7 @@
   {
     Label notVolatile;
     __ tbz(r3, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
-    __ membar(MacroAssembler::Membar_mask_bits(MacroAssembler::StoreStore));
+    __ membar(MacroAssembler::Membar_mask_bits(MacroAssembler::StoreStore | MacroAssembler::LoadStore));
     __ bind(notVolatile);
   }