[Mono-bugs] [Bug 504573] Delegate: Remove and GetInvocationList should not return clones
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue May 26 19:40:46 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=504573
User rkumpera at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504573#c5
Rodrigo Kumpera <rkumpera at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rkumpera at novell.com
--- Comment #5 from Rodrigo Kumpera <rkumpera at novell.com> 2009-05-26 17:40:44 MDT ---
Fixing this is far from trivial because of the current implementation of
chaining.
The current implementation relies on prev references and recursively calls over
them.
This means that we can't recover the original delegate for GetInvocationList or
any other methods. Which is a bummer since this causes unneeded object creation
and, more importantly, of non warmed delegates.
I believe changing this would be useful as it would reduce the size of
MulticastDelegate by one reference. Delegate with multiple target would use
more memory, but our optimization target are single cast delegates.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list