OSDN Git Service

2005-11-01 Bryce McKinlay <mckinlay@redhat.com>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Nov 2005 00:06:30 +0000 (00:06 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Nov 2005 00:06:30 +0000 (00:06 +0000)
        * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106362 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/include/private/gc_priv.h

index cf1e5a6..06f026a 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
+
 2005-09-15  Kazu Hirata  <kazu@codesourcery.com>
 
        * include/private/gc_locks.h (GC_test_and_set): Change the
index c336ce5..6138ca4 100644 (file)
@@ -760,17 +760,9 @@ struct hblk {
 # ifdef LARGE_CONFIG
 #   define MAX_ROOT_SETS 4096
 # else
-#   ifdef PCR
-#     define MAX_ROOT_SETS 1024
-#   else
-#     if defined(MSWIN32) || defined(MSWINCE)
-#      define MAX_ROOT_SETS 1024
-           /* Under NT, we add only written pages, which can result    */
-           /* in many small root sets.                                 */
-#     else
-#       define MAX_ROOT_SETS 256
-#     endif
-#   endif
+    /* GCJ LOCAL: MAX_ROOT_SETS increased to permit more shared */
+    /* libraries to be loaded.                                  */ 
+#   define MAX_ROOT_SETS 1024
 # endif
 
 # define MAX_EXCLUSIONS (MAX_ROOT_SETS/4)