From: Egor Chesakov Date: Tue, 4 Sep 2018 23:22:39 +0000 (-0700) Subject: During CrossGen allocate MethodDescChunk for every MethodDesc in MethodTableBuilder... X-Git-Tag: accepted/tizen/unified/20190422.045933~1266^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4e8ffc24e6fc4f31b60fac28241937b19e07458;p=platform%2Fupstream%2Fcoreclr.git During CrossGen allocate MethodDescChunk for every MethodDesc in MethodTableBuilder::AllocAndInitMethodDescs in src/vm/methodtablebuilder.cpp --- diff --git a/src/vm/methodtablebuilder.cpp b/src/vm/methodtablebuilder.cpp index 08474ad..f36591a 100644 --- a/src/vm/methodtablebuilder.cpp +++ b/src/vm/methodtablebuilder.cpp @@ -6787,8 +6787,10 @@ VOID MethodTableBuilder::AllocAndInitMethodDescs() } } +#ifndef CROSSGEN_COMPILE if (tokenRange != currentTokenRange || sizeOfMethodDescs + size > MethodDescChunk::MaxSizeOfMethodDescs) +#endif // CROSSGEN_COMPILE { if (sizeOfMethodDescs != 0) {