[Mono-bugs] [Bug 81663][Wis] Changed - [PATCH] Performance: Delegate optimization, DLR and IronPython

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 1 12:37:37 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.

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

--- shadow/81663	2007-09-01 00:32:16.000000000 -0400
+++ shadow/81663.tmp.18989	2007-09-01 12:37:37.000000000 -0400
@@ -299,6 +299,12 @@
 Architecture Specific Delegate Caching Patch
 
 
 ------- Additional Comments From joncham at gmail.com  2007-09-01 00:32 -------
 Attached a first attempt at what Paolo described, caching the delegate
 in the architecture specific code in an array based on parameter count.
+
+------- Additional Comments From vargaz at gmail.com  2007-09-01 12:37 -------
+It looks fine except one thing: it should be made thread-safe either
+by using a lock, or setting the cache[..] entry at the end using
+InterlockedCompareExchange.
+


More information about the mono-bugs mailing list