[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 Feb 20 02:33:11 EST 2006


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 rharinath at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77596

--- shadow/77596	2006-02-19 08:32:20.000000000 -0500
+++ shadow/77596.tmp.17746	2006-02-20 02:33:10.000000000 -0500
@@ -1,27 +1,37 @@
 Bug#: 77596
 Product: Mono: Runtime
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: vargaz at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
+Cc: martin at ximian.com,rharinath at novell.com
 Summary: get rid of global generics caches in metadata.c
 
 metadata.c contains some hash tables used by the generics code. These
 hash tables are:
 - unsynchronized
 - contain data which most likely 'belong' to an assembly.
 
 So these tables should be:
 - protected by locks
 and/or
 - moved to MonoImage.
+
+------- Additional Comments From rharinath at novell.com  2006-02-20 02:33 -------
+I think these hashtables are protected by the general
+mono_loader_lock().  
+
+These may not cleanly be separable into separate images -- a generic
+instance in one assembly could be the instantiation of a generic
+definition in another.  Identical non-open instantiations from
+multiple assemblies should resolve to the same generic instance.
+


More information about the mono-bugs mailing list