[Mono-bugs] [Bug 77596][Nor] Changed - get rid of global generics caches in metadata.c

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 18 11:27:46 EDT 2007

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


--- shadow/77596	2006-02-20 11:56:08.000000000 -0500
+++ shadow/77596.tmp.31214	2007-06-18 11:27:46.000000000 -0400
@@ -57,6 +57,12 @@
 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.
+------- Additional Comments From lupus at ximian.com  2007-06-18 11:27 -------
+r80012 has some fixes for this: on image unload we remove the data
+structures that reference types from them. There is still work to do
+on actually freeing them (a proper free function should be registered
+with the hash table creation).

More information about the mono-bugs mailing list