mail-archives/mono-list/2003-October/016195.html

100 строки
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] AppDomain Unload and references
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:b12313%40macnews.de">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016198.html">
<LINK REL="Next" HREF="016200.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] AppDomain Unload and references
</H1>
<B>none, none
</B>
<A HREF="mailto:b12313%40macnews.de"
TITLE="[Mono-list] AppDomain Unload and references">b12313@macnews.de
</A><BR>
<I>Wed, 08 Oct 2003 18:43:04 +0200</I>
<P><UL>
<LI> Previous message: <A HREF="016198.html">[Mono-list] monodoc and gtk-sharp cvs.
</A></li>
<LI> Next message: <A HREF="016200.html">[Mono-list] WG: Mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16195">[ date ]</a>
<a href="thread.html#16195">[ thread ]</a>
<a href="subject.html#16195">[ subject ]</a>
<a href="author.html#16195">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>It doesn't work completely!
See <A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=47659">http://bugzilla.ximian.com/show_bug.cgi?id=47659</A>
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
<A HREF="http://lists.ximian.com/archives/public/mono-list/2003-August/015571.html">http://lists.ximian.com/archives/public/mono-list/2003-August/015571.html</A>
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
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016198.html">[Mono-list] monodoc and gtk-sharp cvs.
</A></li>
<LI> Next message: <A HREF="016200.html">[Mono-list] WG: Mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16195">[ date ]</a>
<a href="thread.html#16195">[ thread ]</a>
<a href="subject.html#16195">[ subject ]</a>
<a href="author.html#16195">[ author ]</a>
</LI>
</UL>
</body></html>