summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2018-07-23 14:15:07 -0700
committerGitHub <noreply@github.com>2018-07-23 14:15:07 -0700
commit51c390f3d009e36a72ca0b1e8b90a4d14a395ff9 (patch)
tree852e7f4877619e783dbe53a4b316943a9461462d /src
parent3c1f91004fe5caeb77c0dc37484102308b03b74a (diff)
downloadcoreclr-51c390f3d009e36a72ca0b1e8b90a4d14a395ff9.tar.gz
coreclr-51c390f3d009e36a72ca0b1e8b90a4d14a395ff9.tar.bz2
coreclr-51c390f3d009e36a72ca0b1e8b90a4d14a395ff9.zip
Add missing FlushInstructionCache to Thread::CommitGCStressInstructionUpdate (#18784)
Diffstat (limited to 'src')
-rw-r--r--src/vm/threadsuspend.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/threadsuspend.cpp b/src/vm/threadsuspend.cpp
index aa7fae3a91..35fa3eeedc 100644
--- a/src/vm/threadsuspend.cpp
+++ b/src/vm/threadsuspend.cpp
@@ -5078,6 +5078,8 @@ void Thread::CommitGCStressInstructionUpdate()
*pbDestCode = *pbSrcCode;
#endif
+
+ FlushInstructionCache(GetCurrentProcess(), (LPCVOID)pbDestCode, 4);
}
}