update order of locks so jitstress is unblocked (#19401)
authorDavid Mason <davmason@microsoft.com>
Fri, 10 Aug 2018 22:40:39 +0000 (15:40 -0700)
committerAndy Ayers <andya@microsoft.com>
Fri, 10 Aug 2018 22:40:39 +0000 (15:40 -0700)
src/inc/CrstTypes.def
src/inc/crsttypes.h

index be4a0c4..a0ee344 100644 (file)
@@ -353,7 +353,7 @@ Crst NativeImageCache
 End
 
 Crst GCCover
-    AcquiredBefore LoaderHeap
+    AcquiredBefore LoaderHeap ReJITSharedDomainTable
 End
 
 Crst GCMemoryPressure
index f0fbca4..0985b9f 100644 (file)
@@ -200,179 +200,179 @@ enum CrstType
 // An array mapping CrstType to level.
 int g_rgCrstLevelMap[] =
 {
-    9,                 // CrstAllowedFiles
-    9,                 // CrstAppDomainCache
-    13,                        // CrstAppDomainHandleTable
-    0,                 // CrstArgBasedStubCache
-    0,                 // CrstAssemblyDependencyGraph
-    0,                 // CrstAssemblyIdentityCache
-    0,                 // CrstAssemblyList
-    7,                 // CrstAssemblyLoader
-    3,                 // CrstAvailableClass
-    6,                 // CrstAvailableParamTypes
-    7,                 // CrstBaseDomain
-    -1,                        // CrstCCompRC
-    9,                 // CrstCer
-    11,                        // CrstClassFactInfoHash
-    8,                 // CrstClassInit
-    -1,                        // CrstClrNotification
-    0,                 // CrstCLRPrivBinderMaps
-    3,                 // CrstCLRPrivBinderMapsAdd
-    6,                 // CrstCodeFragmentHeap
-    4,                 // CrstCOMWrapperCache
-    0,                 // CrstConnectionNameTable
-    17,                        // CrstContexts
-    -1,                        // CrstCoreCLRBinderLog
-    0,                 // CrstCrstCLRPrivBinderLocalWinMDPath
-    7,                 // CrstCSPCache
-    3,                 // CrstDataTest1
-    0,                 // CrstDataTest2
-    0,                 // CrstDbgTransport
-    0,                 // CrstDeadlockDetection
-    -1,                        // CrstDebuggerController
-    3,                 // CrstDebuggerFavorLock
-    0,                 // CrstDebuggerHeapExecMemLock
-    0,                 // CrstDebuggerHeapLock
-    4,                 // CrstDebuggerJitInfo
-    11,                        // CrstDebuggerMutex
-    0,                 // CrstDelegateToFPtrHash
-    15,                        // CrstDomainLocalBlock
-    0,                 // CrstDynamicIL
-    3,                 // CrstDynamicMT
-    3,                 // CrstDynLinkZapItems
-    7,                 // CrstEtwTypeLogHash
-    17,                        // CrstEventPipe
-    0,                 // CrstEventStore
-    0,                 // CrstException
-    7,                 // CrstExecuteManLock
-    0,                 // CrstExecuteManRangeLock
-    3,                 // CrstFCall
-    7,                 // CrstFriendAccessCache
-    7,                 // CrstFuncPtrStubs
-    9,                 // CrstFusionAppCtx
-    7,                 // CrstFusionAssemblyDownload
-    5,                 // CrstFusionBindContext
-    0,                 // CrstFusionBindResult
-    0,                 // CrstFusionClb
-    16,                        // CrstFusionClosure
-    10,                        // CrstFusionClosureGraph
-    0,                 // CrstFusionConfigSettings
-    0,                 // CrstFusionDownload
-    0,                 // CrstFusionIsoLibInit
-    5,                 // CrstFusionLoadContext
-    4,                 // CrstFusionLog
-    7,                 // CrstFusionNgenIndex
-    7,                 // CrstFusionNgenIndexPool
-    0,                 // CrstFusionPcyCache
-    4,                 // CrstFusionPolicyConfigPool
-    5,                 // CrstFusionSingleUse
-    6,                 // CrstFusionWarningLog
-    3,                 // CrstGCCover
-    0,                 // CrstGCMemoryPressure
-    11,                        // CrstGlobalStrLiteralMap
-    1,                 // CrstHandleTable
-    0,                 // CrstHostAssemblyMap
-    3,                 // CrstHostAssemblyMapAdd
-    0,                 // CrstIbcProfile
-    9,                 // CrstIJWFixupData
-    0,                 // CrstIJWHash
-    5,                 // CrstILFingerprintCache
-    7,                 // CrstILStubGen
-    3,                 // CrstInlineTrackingMap
-    16,                        // CrstInstMethodHashTable
-    0,                 // CrstInterfaceVTableMap
-    17,                        // CrstInterop
-    4,                 // CrstInteropData
-    11,                        // CrstIOThreadpoolWorker
-    0,                 // CrstIsJMCMethod
-    7,                 // CrstISymUnmanagedReader
-    8,                 // CrstJit
-    0,                 // CrstJitGenericHandleCache
-    -1,                        // CrstJitPerf
-    6,                 // CrstJumpStubCache
-    0,                 // CrstLeafLock
-    -1,                        // CrstListLock
-    14,                        // CrstLoaderAllocator
-    15,                        // CrstLoaderAllocatorReferences
-    0,                 // CrstLoaderHeap
-    0,                 // CrstMda
-    -1,                        // CrstMetadataTracker
-    0,                 // CrstModIntPairList
-    4,                 // CrstModule
-    14,                        // CrstModuleFixup
-    3,                 // CrstModuleLookupTable
-    0,                 // CrstMulticoreJitHash
-    11,                        // CrstMulticoreJitManager
-    0,                 // CrstMUThunkHash
-    -1,                        // CrstNativeBinderInit
-    -1,                        // CrstNativeImageCache
-    0,                 // CrstNls
-    0,                 // CrstNotifyGdb
-    2,                 // CrstObjectList
-    0,                 // CrstOnEventManager
-    0,                 // CrstPatchEntryPoint
-    0,                 // CrstPEFileSecurityManager
-    4,                 // CrstPEImage
-    0,                 // CrstPEImagePDBStream
-    18,                        // CrstPendingTypeLoadEntry
-    0,                 // CrstPinHandle
-    0,                 // CrstPinnedByrefValidation
-    0,                 // CrstProfilerGCRefDataFreeList
-    0,                 // CrstProfilingAPIStatus
-    0,                 // CrstPublisherCertificate
-    3,                 // CrstRCWCache
-    0,                 // CrstRCWCleanupList
-    3,                 // CrstRCWRefCache
-    4,                 // CrstReadyToRunEntryPointToMethodDescMap
-    0,                 // CrstReDacl
-    9,                 // CrstReflection
-    7,                 // CrstReJITDomainTable
-    13,                        // CrstReJITGlobalRequest
-    9,                 // CrstReJITSharedDomainTable
-    19,                        // CrstRemoting
-    3,                 // CrstRetThunkCache
-    0,                 // CrstRWLock
-    3,                 // CrstSavedExceptionInfo
-    0,                 // CrstSaveModuleProfileData
-    0,                 // CrstSecurityPolicyCache
-    3,                 // CrstSecurityPolicyInit
-    0,                 // CrstSecurityStackwalkCache
-    4,                 // CrstSharedAssemblyCreate
-    7,                 // CrstSharedBaseDomain
-    3,                 // CrstSigConvert
-    5,                 // CrstSingleUseLock
-    0,                 // CrstSpecialStatics
-    0,                 // CrstSqmManager
-    0,                 // CrstStackSampler
-    -1,                        // CrstStressLog
-    0,                 // CrstStrongName
-    5,                 // CrstStubCache
-    0,                 // CrstStubDispatchCache
-    4,                 // CrstStubUnwindInfoHeapSegments
-    3,                 // CrstSyncBlockCache
-    0,                 // CrstSyncHashLock
-    0,                 // CrstSystemBaseDomain
-    12,                        // CrstSystemDomain
-    0,                 // CrstSystemDomainDelayedUnloadList
-    0,                 // CrstThreadIdDispenser
-    0,                 // CrstThreadpoolEventCache
-    7,                 // CrstThreadpoolTimerQueue
-    7,                 // CrstThreadpoolWaitThreads
-    11,                        // CrstThreadpoolWorker
-    4,                 // CrstThreadStaticDataHashTable
-    10,                        // CrstThreadStore
-    9,                 // CrstTieredCompilation
-    9,                 // CrstTPMethodTable
-    3,                 // CrstTypeEquivalenceMap
-    7,                 // CrstTypeIDMap
-    3,                 // CrstUMEntryThunkCache
-    0,                 // CrstUMThunkHash
-    3,                 // CrstUniqueStack
-    7,                 // CrstUnresolvedClassLock
-    3,                 // CrstUnwindInfoTableLock
-    3,                 // CrstVSDIndirectionCellLock
-    3,                 // CrstWinRTFactoryCache
-    3,                 // CrstWrapperTemplate
+    9,          // CrstAllowedFiles
+    9,          // CrstAppDomainCache
+    13,         // CrstAppDomainHandleTable
+    0,          // CrstArgBasedStubCache
+    0,          // CrstAssemblyDependencyGraph
+    0,          // CrstAssemblyIdentityCache
+    0,          // CrstAssemblyList
+    7,          // CrstAssemblyLoader
+    3,          // CrstAvailableClass
+    6,          // CrstAvailableParamTypes
+    7,          // CrstBaseDomain
+    -1,         // CrstCCompRC
+    9,          // CrstCer
+    11,         // CrstClassFactInfoHash
+    8,          // CrstClassInit
+    -1,         // CrstClrNotification
+    0,          // CrstCLRPrivBinderMaps
+    3,          // CrstCLRPrivBinderMapsAdd
+    6,          // CrstCodeFragmentHeap
+    4,          // CrstCOMWrapperCache
+    0,          // CrstConnectionNameTable
+    17,         // CrstContexts
+    -1,         // CrstCoreCLRBinderLog
+    0,          // CrstCrstCLRPrivBinderLocalWinMDPath
+    7,          // CrstCSPCache
+    3,          // CrstDataTest1
+    0,          // CrstDataTest2
+    0,          // CrstDbgTransport
+    0,          // CrstDeadlockDetection
+    -1,         // CrstDebuggerController
+    3,          // CrstDebuggerFavorLock
+    0,          // CrstDebuggerHeapExecMemLock
+    0,          // CrstDebuggerHeapLock
+    4,          // CrstDebuggerJitInfo
+    11,         // CrstDebuggerMutex
+    0,          // CrstDelegateToFPtrHash
+    15,         // CrstDomainLocalBlock
+    0,          // CrstDynamicIL
+    3,          // CrstDynamicMT
+    3,          // CrstDynLinkZapItems
+    7,          // CrstEtwTypeLogHash
+    17,         // CrstEventPipe
+    0,          // CrstEventStore
+    0,          // CrstException
+    7,          // CrstExecuteManLock
+    0,          // CrstExecuteManRangeLock
+    3,          // CrstFCall
+    7,          // CrstFriendAccessCache
+    7,          // CrstFuncPtrStubs
+    9,          // CrstFusionAppCtx
+    7,          // CrstFusionAssemblyDownload
+    5,          // CrstFusionBindContext
+    0,          // CrstFusionBindResult
+    0,          // CrstFusionClb
+    16,         // CrstFusionClosure
+    10,         // CrstFusionClosureGraph
+    0,          // CrstFusionConfigSettings
+    0,          // CrstFusionDownload
+    0,          // CrstFusionIsoLibInit
+    5,          // CrstFusionLoadContext
+    4,          // CrstFusionLog
+    7,          // CrstFusionNgenIndex
+    7,          // CrstFusionNgenIndexPool
+    0,          // CrstFusionPcyCache
+    4,          // CrstFusionPolicyConfigPool
+    5,          // CrstFusionSingleUse
+    6,          // CrstFusionWarningLog
+    10,         // CrstGCCover
+    0,          // CrstGCMemoryPressure
+    11,         // CrstGlobalStrLiteralMap
+    1,          // CrstHandleTable
+    0,          // CrstHostAssemblyMap
+    3,          // CrstHostAssemblyMapAdd
+    0,          // CrstIbcProfile
+    9,          // CrstIJWFixupData
+    0,          // CrstIJWHash
+    5,          // CrstILFingerprintCache
+    7,          // CrstILStubGen
+    3,          // CrstInlineTrackingMap
+    16,         // CrstInstMethodHashTable
+    0,          // CrstInterfaceVTableMap
+    17,         // CrstInterop
+    4,          // CrstInteropData
+    11,         // CrstIOThreadpoolWorker
+    0,          // CrstIsJMCMethod
+    7,          // CrstISymUnmanagedReader
+    8,          // CrstJit
+    0,          // CrstJitGenericHandleCache
+    -1,         // CrstJitPerf
+    6,          // CrstJumpStubCache
+    0,          // CrstLeafLock
+    -1,         // CrstListLock
+    14,         // CrstLoaderAllocator
+    15,         // CrstLoaderAllocatorReferences
+    0,          // CrstLoaderHeap
+    0,          // CrstMda
+    -1,         // CrstMetadataTracker
+    0,          // CrstModIntPairList
+    4,          // CrstModule
+    14,         // CrstModuleFixup
+    3,          // CrstModuleLookupTable
+    0,          // CrstMulticoreJitHash
+    11,         // CrstMulticoreJitManager
+    0,          // CrstMUThunkHash
+    -1,         // CrstNativeBinderInit
+    -1,         // CrstNativeImageCache
+    0,          // CrstNls
+    0,          // CrstNotifyGdb
+    2,          // CrstObjectList
+    0,          // CrstOnEventManager
+    0,          // CrstPatchEntryPoint
+    0,          // CrstPEFileSecurityManager
+    4,          // CrstPEImage
+    0,          // CrstPEImagePDBStream
+    18,         // CrstPendingTypeLoadEntry
+    0,          // CrstPinHandle
+    0,          // CrstPinnedByrefValidation
+    0,          // CrstProfilerGCRefDataFreeList
+    0,          // CrstProfilingAPIStatus
+    0,          // CrstPublisherCertificate
+    3,          // CrstRCWCache
+    0,          // CrstRCWCleanupList
+    3,          // CrstRCWRefCache
+    4,          // CrstReadyToRunEntryPointToMethodDescMap
+    0,          // CrstReDacl
+    9,          // CrstReflection
+    7,          // CrstReJITDomainTable
+    13,         // CrstReJITGlobalRequest
+    9,          // CrstReJITSharedDomainTable
+    19,         // CrstRemoting
+    3,          // CrstRetThunkCache
+    0,          // CrstRWLock
+    3,          // CrstSavedExceptionInfo
+    0,          // CrstSaveModuleProfileData
+    0,          // CrstSecurityPolicyCache
+    3,          // CrstSecurityPolicyInit
+    0,          // CrstSecurityStackwalkCache
+    4,          // CrstSharedAssemblyCreate
+    7,          // CrstSharedBaseDomain
+    3,          // CrstSigConvert
+    5,          // CrstSingleUseLock
+    0,          // CrstSpecialStatics
+    0,          // CrstSqmManager
+    0,          // CrstStackSampler
+    -1,         // CrstStressLog
+    0,          // CrstStrongName
+    5,          // CrstStubCache
+    0,          // CrstStubDispatchCache
+    4,          // CrstStubUnwindInfoHeapSegments
+    3,          // CrstSyncBlockCache
+    0,          // CrstSyncHashLock
+    0,          // CrstSystemBaseDomain
+    12,         // CrstSystemDomain
+    0,          // CrstSystemDomainDelayedUnloadList
+    0,          // CrstThreadIdDispenser
+    0,          // CrstThreadpoolEventCache
+    7,          // CrstThreadpoolTimerQueue
+    7,          // CrstThreadpoolWaitThreads
+    11,         // CrstThreadpoolWorker
+    4,          // CrstThreadStaticDataHashTable
+    10,         // CrstThreadStore
+    9,          // CrstTieredCompilation
+    9,          // CrstTPMethodTable
+    3,          // CrstTypeEquivalenceMap
+    7,          // CrstTypeIDMap
+    3,          // CrstUMEntryThunkCache
+    0,          // CrstUMThunkHash
+    3,          // CrstUniqueStack
+    7,          // CrstUnresolvedClassLock
+    3,          // CrstUnwindInfoTableLock
+    3,          // CrstVSDIndirectionCellLock
+    3,          // CrstWinRTFactoryCache
+    3,          // CrstWrapperTemplate
 };
 
 // An array mapping CrstType to a stringized name.