summaryrefslogtreecommitdiff
path: root/src/vm/prestub.cpp
diff options
context:
space:
mode:
authorKoundinya Veluri <kouvel@users.noreply.github.com>2019-07-03 16:22:31 -0700
committerSergiy Kuryata <sergeyk@microsoft.com>2019-07-03 16:22:31 -0700
commit01da3bdd734c887856f89037cd4a3f2b5a072967 (patch)
tree28658a9738acc9d03828c877678a7be6fcc59aba /src/vm/prestub.cpp
parentf36453660859bb88875b655922b4c3e8d28da4c0 (diff)
downloadcoreclr-01da3bdd734c887856f89037cd4a3f2b5a072967.tar.gz
coreclr-01da3bdd734c887856f89037cd4a3f2b5a072967.tar.bz2
coreclr-01da3bdd734c887856f89037cd4a3f2b5a072967.zip
Fix GCStress modes that do code instrumentation to work with code versioning (#25261)
- SOS changes are in https://github.com/dotnet/diagnostics/pull/369 - Fixes https://github.com/dotnet/coreclr/issues/17646
Diffstat (limited to 'src/vm/prestub.cpp')
-rw-r--r--src/vm/prestub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp
index 0cbd0fc236..b76a018daf 100644
--- a/src/vm/prestub.cpp
+++ b/src/vm/prestub.cpp
@@ -1015,7 +1015,7 @@ PCODE MethodDesc::JitCompileCodeLocked(PrepareCodeConfig* pConfig, JitListLockEn
return pOtherCode;
}
- SetupGcCoverage(this, (BYTE*)pCode);
+ SetupGcCoverage(pConfig->GetCodeVersion(), (BYTE*)pCode);
// This thread should always win the publishing race
// since we're under a lock.