[Mono-devel-list] Patch for generating debug info in System.Reflection.Emit

Ben Maurer bmaurer at ximian.com
Wed May 18 21:13:07 EDT 2005


Miguel asked me to look at the memory impact of this patch.

My only complaint is the amount of boxing that goes on in the
sequence-point list. Can you turn this into an array of structs that you
grow youself?

As far as I can tell, the list of sequence points is kept in memory for
*all* methods until the debug info is emitted. However, as far as I
know, this happens in many other places (eg, ILGenerator's are kept for
all members until the assembly is saved). So, this is probably ok.

-- Ben




More information about the Mono-devel-list mailing list