[Mono-bugs] [Bug 67039][Nor] Changed - [PATCH] Delegates returned from a PInvoke call are improperly marshalled

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 28 Sep 2004 23:06:46 -0400 (EDT)


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 grompf@sublimeintervention.com.

http://bugzilla.ximian.com/show_bug.cgi?id=67039

--- shadow/67039	2004-09-28 23:04:55.000000000 -0400
+++ shadow/67039.tmp.31087	2004-09-28 23:06:46.000000000 -0400
@@ -32,6 +32,17 @@
 Am CCing Zoltan for approval powers.
 
 ------- Additional Comments From grompf@sublimeintervention.com  2004-09-28 23:04 -------
 Created an attachment (id=11489)
 cleaned up patch
 
+
+------- Additional Comments From grompf@sublimeintervention.com  2004-09-28 23:06 -------
+Zoltan,
+
+  This currently walks the finalizable objects hash; BenM has expressed that with a new gc 
+this might not be publically exportable anymore.  It would be better for performance to 
+probably register all marshalled delegates in a hashtable and register the hashtable entry 
+with the gc_finalizer.  Input/thoughts?
+
+-kangaroo
+