summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-02 00:06:30 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-02 00:06:30 +0000
commit2fabf09324e3ace67326d4f291efafa2e1a0d1b5 (patch)
treea42688c015dbaa34f613ef967eb65f1b2bf8b9a4 /boehm-gc
parent7b5e1accbba42f38680a9c4ac572addb35ebd95f (diff)
downloadgcc-2fabf09324e3ace67326d4f291efafa2e1a0d1b5.tar.gz
2005-11-01 Bryce McKinlay <mckinlay@redhat.com>
* 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
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/include/private/gc_priv.h14
2 files changed, 7 insertions, 11 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index cf1e5a636b7..06f026a1121 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -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
diff --git a/boehm-gc/include/private/gc_priv.h b/boehm-gc/include/private/gc_priv.h
index c336ce5c433..6138ca42b88 100644
--- a/boehm-gc/include/private/gc_priv.h
+++ b/boehm-gc/include/private/gc_priv.h
@@ -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)