[Mono-bugs] [Bug 572699] New: Deterministic code generation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 21 11:02:32 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=572699

http://bugzilla.novell.com/show_bug.cgi?id=572699#c0


           Summary: Deterministic code generation
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Cecil
        AssignedTo: jbevain at novell.com
        ReportedBy: brienpub at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=338040)
 --> (http://bugzilla.novell.com/attachment.cgi?id=338040)
aliased imports so that Hashtable usages are changed to OrderedDictionary

The binaries produced by cecil are non-deterministic due to the use of
unordered collections (eg System.Collections.Hashtable) in Cecil.

I propose changing them to System.Collections.Specialized.OrderedDictionary.

The current usages are primarily for small collections (eg annotations), so
there shouldn't be a noticable performance hit.

I took a shortcut and changed the usages via aliases imports.  The change to
the mono codebase should probably not do it this way.  Anyway, patch attached.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list