[Mono-list] AppDomain Unload and references
Wed, 08 Oct 2003 18:43:04 +0200
It doesn't work completely!
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
If there is no way to unload an AppDomain the application leaks memory
- realy bad for an app-/ or web-server.
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!
On Tue, 09 Sep 2003 Varga Zoltan wrote :
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.