[sgen] Properly synchronize `allocated_blocks`.
authorMark Probst <mark.probst@gmail.com>
Tue, 1 Sep 2015 22:02:40 +0000 (15:02 -0700)
committerMark Probst <mark.probst@gmail.com>
Tue, 1 Sep 2015 22:04:30 +0000 (15:04 -0700)
commit54ede58d34a91a299b5863664341bbb0a4e6a370
tree32eecc0f42c4c9a324019b6b1cd8e8fd797b81cb
parent2800e7c0f1514834e6218fe39cfcda0cfabeecbb
[sgen] Properly synchronize `allocated_blocks`.

We were missing a memory barrier here.  This might fix the current
intermittent crashes on wrench.
mono/sgen/sgen-marksweep.c