[Mono-bugs] [Bug 76757][Nor] Changed - new AppDomains inherit current loaded assemblies

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 31 18:36:27 EDT 2006


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 lluis at ximian.com.

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

--- shadow/76757	2006-07-31 18:28:08.000000000 -0400
+++ shadow/76757.tmp.31604	2006-07-31 18:36:27.000000000 -0400
@@ -625,6 +625,23 @@
 working (in particular, the way type info was serialized across domains).
 
 ------- Additional Comments From lluis at ximian.com  2006-07-31 18:28 -------
 Created an attachment (id=17381)
 patch.diff
 
+
+------- Additional Comments From lluis at ximian.com  2006-07-31 18:36 -------
+The attached patch fixes the problem raised by Robert's test case. I
+added a check in the cross app-domain method wrapper, which will make
+the wrapper to fall back to the normal remoting path if the target
+domain does not have the required image already loaded. The normal
+remoting call path will load the assembly, so the next call should go
+through the fast path (which is 30x faster).
+
+If the assembly is not the same or it is loaded from a different path
+(such in the test case), then the fast path will never be used. This
+is the worst case, but it's not a very common case.
+
+Brian, could you try the patch? if something still fails I'll need
+another test case.
+
+


More information about the mono-bugs mailing list