[Mono-list] AppDomain Unload and references
none, none
b12313@macnews.de
Wed, 08 Oct 2003 18:43:04 +0200
It doesn't work completely!
See http://bugzilla.ximian.com/show_bug.cgi?id=47659
This is a major problem.
You can't build an application server like bea weblogic or jboss
without this functionality. You also need it for hot-deployment if you
want to implement something like tomcat (the best-known java webserver)
in dotnet with mono.
There are many other uses for for this functionality, you need it for
all plugin-frameworks.
See also
http://lists.ximian.com/archives/public/mono-list/2003-August/015571.html
If there is no way to unload an AppDomain the application leaks memory
- realy bad for an app-/ or web-server.
Greetings,
Nathanael
Hello Zoltan,
Thanks for the response,
I was going through the mono code and found that there is an
icall, ves_icall_System_AppDomain_InternalUnload which actually
calls a function mono_domain_unload(). When you say that AppDomain
unloading does not work under mono, did you want to mean that
AppDomain unloading does not *fully* work with mono??
I am saying so beacause the mono_domain_unload, in a bit ruthless
manner, but sure does unload AppDomains!
-pG-
On Tue, 09 Sep 2003 Varga Zoltan wrote :
Hi,
Appdomain unloading does not work under mono at the moment. I
think it would be best to make Unload () throw a
NotImplementedException, because otherwise people think that this
method works, when it isn't.
Zoltan