projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1f910
)
Add missing FlushInstructionCache to Thread::CommitGCStressInstructionUpdate (#18784)
author
Egor Chesakov
<Egor.Chesakov@microsoft.com>
Mon, 23 Jul 2018 21:15:07 +0000
(14:15 -0700)
committer
GitHub
<noreply@github.com>
Mon, 23 Jul 2018 21:15:07 +0000
(14:15 -0700)
src/vm/threadsuspend.cpp
patch
|
blob
|
history
diff --git
a/src/vm/threadsuspend.cpp
b/src/vm/threadsuspend.cpp
index
aa7fae3
..
35fa3ee
100644
(file)
--- 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);
}
}