There is a function 
mono_metadata_parse_type_full() at metadata.c.
It include the following part:

        /* FIXME: remove the != MONO_PARSE_PARAM condition, this accounts for
         * almost 10k (about 2/3rds) of all MonoType's we create.
         */
        if (mode != MONO_PARSE_PARAM && !type->num_mods) {
      .....
       }

 It says we can save some memory if remove "mode != MONO_PARSE_PARAM". 
But seems that after we remove this, we got mono crash  though we
could save some memory.
 The Mono error message is that "cannot decode IL which is all 0x0000,
when XmlReader.Close() is being JITted".

Do anybody know what's role of "mode != MONO_PARSE_PARAM" ? or what is
MONO_PARSE_PARAM for?
Or any way to prevent the crash without that? 

Thanks a lot..

Regards,
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to