[Mono-bugs] [Bug 605295] Memory leak with DynamicMethod and --debug

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 18 20:44:33 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=605295

http://bugzilla.novell.com/show_bug.cgi?id=605295#c18


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #18 from Rodrigo Kumpera <rkumpera at novell.com> 2010-05-19 00:44:32 UTC ---
The problem is that target_loc holds a reference to the delegate target. If the
target reference back the delegate, we have a circular reference that prevent
things from been collected.

The way to fix it is to use a weak-ref gchandle to target and resolve it on
every invocation.

I'll work on it during this week.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list