Ensure that ZeroMemoryInGCHeap writes in pointer-sized increments (dotnet/coreclr...
authorDaniel Podder <dapodd@microsoft.com>
Sat, 8 Jul 2017 06:53:38 +0000 (23:53 -0700)
committerJan Kotas <jkotas@microsoft.com>
Sat, 8 Jul 2017 06:53:38 +0000 (08:53 +0200)
commit2b087c9440a93691429b26c9bb1928594a4b0425
treef3de0b3ae71b6a4b45c72cbbebd0fdc440299da9
parent3091142cc476d494678f70d69701b1dea97ff73d
Ensure that ZeroMemoryInGCHeap writes in pointer-sized increments (dotnet/coreclr#12689)

by adding the volatile keyword (which disables memset optimization).
Fixes dotnet/coreclr#12207

Commit migrated from https://github.com/dotnet/coreclr/commit/c28b3c9f928ba0ff1be6727dcbdb9ba8d1522a82
src/coreclr/src/vm/object.cpp