Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Disable CER code that is causing access violation
Browse files Browse the repository at this point in the history
Resolves issue dotnet/corefx#12412.
  • Loading branch information
John Chen (CLR) committed Oct 7, 2016
1 parent 6a4ba26 commit 1bd0ce6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vm/constrainedexecutionregion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,10 @@ void PrepopulateGenericHandleCache(DictionaryLayout *pDictionaryLayout,
MethodDesc *pMD,
MethodTable *pMT)
{
#ifdef FEATURE_CORECLR
// Disable this function in CoreCLR to work around https://github.com/dotnet/corefx/issues/12412.
LIMITED_METHOD_CONTRACT;
#else
CONTRACTL {
THROWS;
GC_TRIGGERS;
Expand All @@ -1768,6 +1772,7 @@ void PrepopulateGenericHandleCache(DictionaryLayout *pDictionaryLayout,
}
pOverflows = pOverflows->GetNextLayout();
}
#endif // FEATURE_CORECLR
}

#ifdef FEATURE_PREJIT
Expand Down

0 comments on commit 1bd0ce6

Please sign in to comment.