src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp
changeset 58991 90cf1d4e712f
parent 57565 01bca26734bb
--- a/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp	Fri Nov 08 11:03:00 2019 -0800
+++ b/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp	Fri Nov 08 16:53:57 2019 +0800
@@ -840,6 +840,7 @@
           __ sub(arr_size, arr_size, t1);  // body length
           __ add(t1, t1, obj);       // body start
           __ initialize_body(t1, arr_size, 0, t2);
+          __ membar(Assembler::StoreStore);
           __ verify_oop(obj);
 
           __ ret(lr);