Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update Crst lock levels
Add dependency between CrstCodeVersioning and CrstCOMWrapperCache
  • Loading branch information
AaronRobinsonMSFT committed Oct 3, 2022
commit 86ef4727698b0842d4a6814c145ad570cfffbad7
2 changes: 1 addition & 1 deletion src/coreclr/inc/CrstTypes.def
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ End
Crst CodeVersioning
AcquiredBefore LoaderHeap SingleUseLock DeadlockDetection JumpStubCache DebuggerController FuncPtrStubs
AcquiredAfter ReJITGlobalRequest ThreadStore GlobalStrLiteralMap SystemDomain DebuggerMutex MethodDescBackpatchInfoTracker
ReadyToRunEntryPointToMethodDescMap ClassInit AppDomainCache TypeIDMap FusionAppCtx
ReadyToRunEntryPointToMethodDescMap ClassInit AppDomainCache TypeIDMap FusionAppCtx COMWrapperCache
End

// Used to synchronize all global requests (which may span multiple AppDomains) which add
Expand Down
7 changes: 2 additions & 5 deletions src/coreclr/inc/crsttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ enum CrstType
CrstUnwindInfoTableLock = 113,
CrstVSDIndirectionCellLock = 114,
CrstWrapperTemplate = 115,
CrstFrozenObjectHeap = 116,
kNumberOfCrstTypes = 117
kNumberOfCrstTypes = 116
};

#endif // __CRST_TYPES_INCLUDED
Expand All @@ -157,7 +156,7 @@ int g_rgCrstLevelMap[] =
6, // CrstCodeFragmentHeap
9, // CrstCodeVersioning
3, // CrstCOMCallWrapper
5, // CrstCOMWrapperCache
10, // CrstCOMWrapperCache
3, // CrstDataTest1
0, // CrstDataTest2
0, // CrstDbgTransport
Expand Down Expand Up @@ -259,7 +258,6 @@ int g_rgCrstLevelMap[] =
3, // CrstUnwindInfoTableLock
4, // CrstVSDIndirectionCellLock
3, // CrstWrapperTemplate
0, // CrstFrozenObjectHeap
};

// An array mapping CrstType to a stringized name.
Expand Down Expand Up @@ -381,7 +379,6 @@ LPCSTR g_rgCrstNameMap[] =
"CrstUnwindInfoTableLock",
"CrstVSDIndirectionCellLock",
"CrstWrapperTemplate",
"CrstFrozenObjectHeap"
};

// Define a special level constant for unordered locks.
Expand Down