[mini] Add missing membars when initializing rgctx entries (#16904)
commitb2739b5196250a467ce0c315b3fc93065267bfee
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 18 Sep 2019 13:16:17 +0000 (18 16:16 +0300)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 18 Sep 2019 13:16:17 +0000 (18 09:16 -0400)
tree8acf3e6cbe5c13f9f9b96994c82bdc93b7f6273d
parent12c48df242f61c6e028030499a43b140f41873e1
[mini] Add missing membars when initializing rgctx entries (#16904)

[mini] Add missing membars when initializing rgctx entries

Whenever we are publishing changes to the rgctx arrays, we are racing with rgctx_lazy_fetch_trampoline, so we need to make sure any pointers we set there must have their contents initialized.
mono/mini/mini-generic-sharing.c