[Mono-bugs] [Bug 24003] Changed - GetHashCode() hack makes fields misaligned

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
15 May 2002 13:49:45 -0000

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 dihlewis@yahoo.co.uk.


--- shadow/24003	Mon Apr 29 12:15:07 2002
+++ shadow/24003.tmp.19559	Wed May 15 09:49:45 2002
@@ -1,14 +1,14 @@
 Bug#: 24003
 Product: Mono/Runtime
 Version: unspecified
 OS: other
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -19,6 +19,10 @@
 The GetHashCode hack that put the hash code at the beginning of the memory
 returned by malloc() causes misalignment of the fields: this makes
 platforms that require aligned access to doubles and int64 integers to segfault
 (malloc and GC_malloc return 8-byte aligned memory in that cases: the
 additional 4 bytes causes the misalignment). The hash code should either be
 stored at the end of the object or the hack should be removed.
+------- Additional Comments From dihlewis@yahoo.co.uk  2002-05-15 09:49 -------
+GetHashCode() implementation reverted to address-based hash as part of
+Agesen hash mechanism.