PEImageLayout: flush instruction cache only for pages with relocs. (#17773)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Mon, 14 May 2018 16:55:18 +0000 (19:55 +0300)
committerJan Kotas <jkotas@microsoft.com>
Mon, 14 May 2018 16:55:18 +0000 (09:55 -0700)
commit539b1745463d697b883ac2c8f556afd82c25b5dc
tree29a575852f653c99445600ce0f57c4f388455ce5
parentf1c47fa7d2cdf29c5d0d1d7c89855e0d0ee5518a
PEImageLayout: flush instruction cache only for pages with relocs. (#17773)

We need to flush instruction cache only for pages that have relocations
instead of full sections because otherwise application's shared clean
memory is increased in some cases on Linux.
src/vm/peimagelayout.cpp