PEImageLayout: flush instruction cache only for pages with relocs.
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Mon, 14 May 2018 09:35:09 +0000 (12:35 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Tue, 18 Sep 2018 12:49:14 +0000 (15:49 +0300)
commit5cc47cbdb69f44772abe0b3f3149468a6706d221
tree8d55e57c70f9690b71dd39f669f33171216469aa
parenteaae668fc97b56946e4a01a3ad0c89c11f8259d7
PEImageLayout: flush instruction cache only for pages with relocs.

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