Skip to content

Commit

Permalink
Remove some unused files and Crst levels (#106583)
Browse files Browse the repository at this point in the history
* Remove unused ObjectList

* Remove CrstObjectList

* Remove more unused CrstType

* Delete cvinfo.h/cvconst.h Left over from crossgen1.

* complex.h
  • Loading branch information
huoyaoyuan committed Aug 18, 2024
1 parent 217525a commit 38bcd31
Show file tree
Hide file tree
Showing 8 changed files with 188 additions and 9,357 deletions.
49 changes: 7 additions & 42 deletions src/coreclr/inc/CrstTypes.def
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ Crst PinnedHeapHandleTable
SystemDomain
End

Crst ArgBasedStubCache
End

Crst AssemblyLoader
AcquiredBefore DeadlockDetection UniqueStack DebuggerMutex
End
Expand Down Expand Up @@ -203,11 +200,7 @@ Crst Exception
End

Crst ExecutableAllocatorLock
AcquiredAfter LoaderHeap ArgBasedStubCache UMEntryThunkFreeListLock COMCallWrapper
End

Crst ExecuteManRangeLock
AcquiredAfter NativeImageEagerFixups
AcquiredAfter LoaderHeap UMEntryThunkFreeListLock COMCallWrapper
End

Crst FCall
Expand Down Expand Up @@ -294,12 +287,8 @@ Crst JitPatchpoint
AcquiredBefore LoaderHeap
End

Crst JitPerf
Unordered
End

Crst JumpStubCache
AcquiredBefore ExecuteManRangeLock LoaderHeap SingleUseLock
AcquiredBefore LoaderHeap SingleUseLock
AcquiredAfter AppDomainCache
ILStubGen
TypeIDMap BaseDomain AssemblyLoader
Expand Down Expand Up @@ -342,29 +331,18 @@ Crst Module
AcquiredBefore LoaderHeap UniqueStack
End

Crst ModuleFixup
AcquiredBefore PinnedHeapHandleTable GlobalStrLiteralMap IbcProfile SyncBlockCache
End

Crst ModuleLookupTable
AcquiredBefore LoaderHeap
End

Crst Nls
End

Crst ObjectList
SameLevelAs ObjectList
End

Crst PEImage
AcquiredBefore UniqueStack
End

Crst PendingTypeLoadEntry
AcquiredBefore AppDomainCache PinnedHeapHandleTable AssemblyLoader AvailableClass AvailableParamTypes
BaseDomain ClassInit DeadlockDetection DebuggerController DebuggerJitInfo DebuggerMutex
GenericDictionaryExpansion Exception ExecuteManRangeLock FuncPtrStubs
GenericDictionaryExpansion Exception FuncPtrStubs
FusionAppCtx GlobalStrLiteralMap HandleTable IbcProfile
IJWFixupData IJWHash ISymUnmanagedReader Jit JumpStubCache LoaderHeap
Module ModuleLookupTable PEImage
Expand Down Expand Up @@ -419,29 +397,19 @@ Crst EtwTypeLogHash
AcquiredAfter SingleUseLock
End

Crst SavedExceptionInfo
AcquiredBefore DebuggerController
End

Crst SaveModuleProfileData
End

Crst SigConvert
AcquiredBefore LoaderHeap
End

Crst SingleUseLock
AcquiredBefore ExecuteManRangeLock LoaderHeap UniqueStack DebuggerJitInfo
AcquiredBefore LoaderHeap UniqueStack DebuggerJitInfo
End

Crst UnwindInfoTableLock
AcquiredAfter StubUnwindInfoHeapSegments SingleUseLock
AcquiredBefore StressLog
End

Crst SpecialStatics
End

Crst StressLog
Unordered
End
Expand Down Expand Up @@ -469,7 +437,7 @@ Crst SystemBaseDomain
End

Crst SystemDomain
AcquiredBefore DebuggerMutex HandleTable IbcProfile SaveModuleProfileData
AcquiredBefore DebuggerMutex HandleTable IbcProfile
ThreadIdDispenser ThreadStore
End

Expand All @@ -485,7 +453,7 @@ End

Crst ThreadStore
AcquiredBefore AvailableParamTypes DeadlockDetection DebuggerController
DebuggerHeapLock DebuggerJitInfo DynamicIL ExecuteManRangeLock HandleTable IbcProfile
DebuggerHeapLock DebuggerJitInfo DynamicIL HandleTable IbcProfile
JitGenericHandleCache JumpStubCache LoaderHeap ModuleLookupTable ProfilerGCRefDataFreeList
SingleUseLock SyncBlockCache SystemDomainDelayedUnloadList ThreadIdDispenser DebuggerMutex
JitInlineTrackingMap
Expand Down Expand Up @@ -532,9 +500,6 @@ Crst MulticoreJitManager
AcquiredBefore MulticoreJitHash ThreadStore
End

Crst StackSampler
End

Crst InlineTrackingMap
AcquiredBefore IbcProfile
End
Expand All @@ -552,7 +517,7 @@ Crst NotifyGdb
End

Crst ReadyToRunEntryPointToMethodDescMap
AcquiredBefore ExecuteManRangeLock UniqueStack
AcquiredBefore UniqueStack
End

Crst TieredCompilation
Expand Down
79 changes: 0 additions & 79 deletions src/coreclr/inc/complex.h

This file was deleted.

Loading

0 comments on commit 38bcd31

Please sign in to comment.