[Mono-bugs] [Bug 77146][Nor] Changed - DynamicMethods leak memory

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 12 06:40:55 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz at gmail.com.


--- shadow/77146	2007-06-12 02:33:35.000000000 -0400
+++ shadow/77146.tmp.20624	2007-06-12 06:40:55.000000000 -0400
@@ -42,6 +42,12 @@
 It still leaks about 80 bytes (800 before the patch) per
 DynamicMethod. I have no idea where they are coming from.
 ------- Additional Comments From miguel at ximian.com  2007-06-12 02:33 -------
 Looks great Robert, can you commit?
+------- Additional Comments From vargaz at gmail.com  2007-06-12 06:40 -------
+The problem with this patch is the MonoMethod belongs to the delegate
+returned by the CreateDelegate which can outlive the DynamicMethod which
+created it.

More information about the mono-bugs mailing list