mail-archives/mono-bugs/2006-February/039406.html

89 строки
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 77596][Nor] Changed - get rid of global generics
caches in metadata.c
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2077596%5D%5BNor%5D%20Changed%20-%20get%20rid%20of%20global%20generics%0A%09caches%20in%20metadata.c&In-Reply-To=bug-77596%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="039405.html">
<LINK REL="Next" HREF="039407.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 77596][Nor] Changed - get rid of global generics
caches in metadata.c</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2077596%5D%5BNor%5D%20Changed%20-%20get%20rid%20of%20global%20generics%0A%09caches%20in%20metadata.c&In-Reply-To=bug-77596%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 77596][Nor] Changed - get rid of global generics
caches in metadata.c">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Mon Feb 20 11:56:08 EST 2006</I>
<P><UL>
<LI>Previous message: <A HREF="039405.html">[Mono-bugs] [Bug 77605][Min] Changed - GraphicsPath.AddPolygon
should throw invalid arg exception
</A></li>
<LI>Next message: <A HREF="039407.html">[Mono-bugs] [Bug 77465][Wis] Changed - System.Net.WebRequest
exceptions on POST with SSL'ed connections
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#39406">[ date ]</a>
<a href="thread.html#39406">[ thread ]</a>
<a href="subject.html#39406">[ subject ]</a>
<a href="author.html#39406">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">lupus at ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=77596">http://bugzilla.ximian.com/show_bug.cgi?id=77596</A>
--- shadow/77596 2006-02-20 09:12:57.000000000 -0500
+++ shadow/77596.tmp.23239 2006-02-20 11:56:08.000000000 -0500
@@ -48,6 +48,15 @@
------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">vargaz at gmail.com</A> 2006-02-20 09:12 -------
Also, the generic instances could be cached in the image where the
definition is. This is needed because we would like to implement
unloading of assemblies in the future, so all data related to the
assembly should be kept with the assembly, and not in global tables.
+
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">lupus at ximian.com</A> 2006-02-20 11:56 -------
+Generic instantiations of generic classes and methods may reference
+classes from multiple assemblies.
+In these cases it's likely better to have a global cache
+and a function that walks it and removes instantiations that reference
+an assembly when it is going to be unloaded.
+Anyway, yes, the generics code is a bit of a mess and needs a big
+audit, both in the interface and the implementation.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="039405.html">[Mono-bugs] [Bug 77605][Min] Changed - GraphicsPath.AddPolygon
should throw invalid arg exception
</A></li>
<LI>Next message: <A HREF="039407.html">[Mono-bugs] [Bug 77465][Wis] Changed - System.Net.WebRequest
exceptions on POST with SSL'ed connections
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#39406">[ date ]</a>
<a href="thread.html#39406">[ thread ]</a>
<a href="subject.html#39406">[ subject ]</a>
<a href="author.html#39406">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>