summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2019-04-20 15:56:19 -0700
committerGitHub <noreply@github.com>2019-04-20 15:56:19 -0700
commit9a7be98147755d337c3c5c1d8972afe32adaf797 (patch)
tree62602482304862cb107a1835187478dcb4aed8bb
parentb2693453717f43bf90c47b8a87c60d92203551b7 (diff)
downloadcoreclr-9a7be98147755d337c3c5c1d8972afe32adaf797.tar.gz
coreclr-9a7be98147755d337c3c5c1d8972afe32adaf797.tar.bz2
coreclr-9a7be98147755d337c3c5c1d8972afe32adaf797.zip
Eventpipe Crst ordering fix (#24101)
* Adding PendingTypeLoadEntry to Crst order for EventPipeCrst * update header file
-rw-r--r--src/inc/CrstTypes.def1
-rw-r--r--src/inc/crsttypes.h8
2 files changed, 5 insertions, 4 deletions
diff --git a/src/inc/CrstTypes.def b/src/inc/CrstTypes.def
index 88bff8a449..5ca54f14d7 100644
--- a/src/inc/CrstTypes.def
+++ b/src/inc/CrstTypes.def
@@ -683,6 +683,7 @@ Crst InlineTrackingMap
End
Crst EventPipe
+ AcquiredAfter PendingTypeLoadEntry
AcquiredBefore ThreadIdDispenser ThreadStore DomainLocalBlock InstMethodHashTable
End
diff --git a/src/inc/crsttypes.h b/src/inc/crsttypes.h
index b3bdb14006..88367163ef 100644
--- a/src/inc/crsttypes.h
+++ b/src/inc/crsttypes.h
@@ -221,7 +221,7 @@ int g_rgCrstLevelMap[] =
3, // CrstDynamicMT
3, // CrstDynLinkZapItems
7, // CrstEtwTypeLogHash
- 18, // CrstEventPipe
+ 17, // CrstEventPipe
0, // CrstEventStore
0, // CrstException
7, // CrstExecuteManLock
@@ -243,7 +243,7 @@ int g_rgCrstLevelMap[] =
3, // CrstInlineTrackingMap
16, // CrstInstMethodHashTable
0, // CrstInterfaceVTableMap
- 18, // CrstInterop
+ 17, // CrstInterop
4, // CrstInteropData
12, // CrstIOThreadpoolWorker
0, // CrstIsJMCMethod
@@ -276,7 +276,7 @@ int g_rgCrstLevelMap[] =
0, // CrstPatchEntryPoint
4, // CrstPEImage
0, // CrstPEImagePDBStream
- 17, // CrstPendingTypeLoadEntry
+ 18, // CrstPendingTypeLoadEntry
0, // CrstPinHandle
0, // CrstPinnedByrefValidation
0, // CrstProfilerGCRefDataFreeList
@@ -290,7 +290,7 @@ int g_rgCrstLevelMap[] =
9, // CrstReflection
9, // CrstReJITDomainTable
14, // CrstReJITGlobalRequest
- 18, // CrstRemoting
+ 19, // CrstRemoting
3, // CrstRetThunkCache
0, // CrstRWLock
3, // CrstSavedExceptionInfo