src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
changeset 54258 0db90e99f13b
parent 53928 20ee41e8740d
child 55521 f9a2f93a0c87
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54257:21702e87efdf 54258:0db90e99f13b
  2883   __ bind(Done);
  2883   __ bind(Done);
  2884 
  2884 
  2885   {
  2885   {
  2886     Label notVolatile;
  2886     Label notVolatile;
  2887     __ tbz(r5, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
  2887     __ tbz(r5, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
  2888     __ membar(MacroAssembler::StoreLoad);
  2888     __ membar(MacroAssembler::StoreLoad | MacroAssembler::StoreStore);
  2889     __ bind(notVolatile);
  2889     __ bind(notVolatile);
  2890   }
  2890   }
  2891 }
  2891 }
  2892 
  2892 
  2893 void TemplateTable::putfield(int byte_no)
  2893 void TemplateTable::putfield(int byte_no)
  3027   }
  3027   }
  3028 
  3028 
  3029   {
  3029   {
  3030     Label notVolatile;
  3030     Label notVolatile;
  3031     __ tbz(r3, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
  3031     __ tbz(r3, ConstantPoolCacheEntry::is_volatile_shift, notVolatile);
  3032     __ membar(MacroAssembler::StoreLoad);
  3032     __ membar(MacroAssembler::StoreLoad | MacroAssembler::StoreStore);
  3033     __ bind(notVolatile);
  3033     __ bind(notVolatile);
  3034   }
  3034   }
  3035 }
  3035 }
  3036 
  3036 
  3037 
  3037