[Mono-bugs] [Bug 52655][Nor] Changed - Custom attributes should not be cached
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 7 Jan 2004 15:38:48 -0500 (EST)
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 vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=52655
--- shadow/52655 2004-01-07 14:36:58.000000000 -0500
+++ shadow/52655.tmp.11615 2004-01-07 15:38:48.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 52655
Product: Mono/Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: lluis@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -45,6 +45,13 @@
The solution is to remove the attribute cache from MonoCustomAttrs.
------- Additional Comments From lluis@ximian.com 2004-01-07 14:36 -------
Created an attachment (id=6366)
Proposed patch
+
+------- Additional Comments From vargaz@freemail.hu 2004-01-07 15:38 -------
+A better solution would be to somehow copy the attributes returned
+from the API calls, since removing the cache means that IsDefined
+needs to construct all the attributes for a type on each invocation,
+which is not very perf friendly.
+