projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03344df
)
Add missing FlushInstructionCache to Thread::CommitGCStressInstructionUpdate (dotnet...
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)
Commit migrated from https://github.com/dotnet/coreclr/commit/
51c390f3d009e36a72ca0b1e8b90a4d14a395ff9
src/coreclr/src/vm/threadsuspend.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/threadsuspend.cpp
b/src/coreclr/src/vm/threadsuspend.cpp
index
aa7fae3
..
35fa3ee
100644
(file)
--- a/
src/coreclr/src/vm/threadsuspend.cpp
+++ b/
src/coreclr/src/vm/threadsuspend.cpp
@@
-5078,6
+5078,8
@@
void Thread::CommitGCStressInstructionUpdate()
*pbDestCode = *pbSrcCode;
#endif
+
+ FlushInstructionCache(GetCurrentProcess(), (LPCVOID)pbDestCode, 4);
}
}