# HG changeset patch # User fyang # Date 1573203237 -28800 # Node ID 90cf1d4e712fe3fae27b9611e3e5d09ad9612a56 # Parent 7f1d2c3a99da2476604ee3721b675667c7b0a38a 8233839: aarch64: missing memory barrier in NewObjectArrayStub and NewTypeArrayStub Reviewed-by: adinn diff -r 7f1d2c3a99da -r 90cf1d4e712f src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp --- 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);