summaryrefslogtreecommitdiff
path: root/src/vm/dataimage.cpp
diff options
context:
space:
mode:
authorGleb Balykov <g.balykov@samsung.com>2017-06-23 15:58:45 +0300
committerGleb Balykov <g.balykov@samsung.com>2017-07-10 16:37:05 +0300
commit9726fb253bae6249cffd6c96667262690fe6dd22 (patch)
treeb715b596c31600c90f52fae59ff83c65e4745ad7 /src/vm/dataimage.cpp
parentc4c04ea45cda3194cdf2189d757b96602ea344ee (diff)
downloadcoreclr-9726fb253bae6249cffd6c96667262690fe6dd22.tar.gz
coreclr-9726fb253bae6249cffd6c96667262690fe6dd22.tar.bz2
coreclr-9726fb253bae6249cffd6c96667262690fe6dd22.zip
Move ITEM_DICTIONARY and ITEM_VTABLE_CHUNK to separate subsection of SECTION_Readonly
Diffstat (limited to 'src/vm/dataimage.cpp')
-rw-r--r--src/vm/dataimage.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vm/dataimage.cpp b/src/vm/dataimage.cpp
index fc584d7b39..4e276fe460 100644
--- a/src/vm/dataimage.cpp
+++ b/src/vm/dataimage.cpp
@@ -738,9 +738,7 @@ FORCEINLINE static CorCompileSection GetSectionForNodeType(ZapNodeType type)
// SECTION_READONLY_WARM
case NodeTypeForItemKind(DataImage::ITEM_METHOD_TABLE):
- case NodeTypeForItemKind(DataImage::ITEM_VTABLE_CHUNK):
case NodeTypeForItemKind(DataImage::ITEM_INTERFACE_MAP):
- case NodeTypeForItemKind(DataImage::ITEM_DICTIONARY):
case NodeTypeForItemKind(DataImage::ITEM_DISPATCH_MAP):
case NodeTypeForItemKind(DataImage::ITEM_GENERICS_STATIC_FIELDDESCS):
case NodeTypeForItemKind(DataImage::ITEM_GC_STATIC_HANDLES_COLD):
@@ -750,6 +748,10 @@ FORCEINLINE static CorCompileSection GetSectionForNodeType(ZapNodeType type)
case NodeTypeForItemKind(DataImage::ITEM_STORED_METHOD_SIG_READONLY_WARM):
return CORCOMPILE_SECTION_READONLY_WARM;
+ case NodeTypeForItemKind(DataImage::ITEM_DICTIONARY):
+ case NodeTypeForItemKind(DataImage::ITEM_VTABLE_CHUNK):
+ return CORCOMPILE_SECTION_READONLY_VCHUNKS_AND_DICTIONARY;
+
// SECTION_CLASS_COLD
case NodeTypeForItemKind(DataImage::ITEM_PARAM_TYPEDESC):
case NodeTypeForItemKind(DataImage::ITEM_ARRAY_TYPEDESC):