[mono/mono] 5db0301d: [sgen] Don't crash on nurseries of 512M or larger.

"Mark Probst ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141be8572ef-8f21c063-2f72-42a4-a673-db110d857cda-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/65aefd97497e...5db0301dc89a

   Commit: 5db0301dc89a51b8d7bd970e1a1a552088596499
   Author: Mark Probst <[email protected]> (schani)
     Date: 2013-10-15 23:47:18 GMT
      URL: https://github.com/mono/mono/commit/5db0301dc89a51b8d7bd970e1a1a552088596499

[sgen] Don't crash on nurseries of 512M or larger.

Changed paths:
  M mono/metadata/sgen-gc.h

Modified: mono/metadata/sgen-gc.h
===================================================================
@@ -143,7 +143,7 @@ struct _GCMemSection {
 	/* in major collections indexes in the pin_queue for objects that pin this section */
 	void **pin_queue_start;
 	int pin_queue_num_entries;
-	unsigned short num_scan_start;
+	unsigned int num_scan_start;
 };
 
 /*


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.