summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}