aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2005-11-02 00:06:30 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2005-11-02 00:06:30 +0000
commit39bfe5c7981473118880659bab27f8a721193e19 (patch)
treea42688c015dbaa34f613ef967eb65f1b2bf8b9a4
parentc96cfa49c2b20f0b1d23b32473c33934af97a5d0 (diff)
downloadgcc-39bfe5c7981473118880659bab27f8a721193e19.zip
gcc-39bfe5c7981473118880659bab27f8a721193e19.tar.gz
gcc-39bfe5c7981473118880659bab27f8a721193e19.tar.bz2
gc_priv.h: Increase MAX_ROOT_SETS to 1024.
2005-11-01 Bryce McKinlay <mckinlay@redhat.com> * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. From-SVN: r106362
-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 cf1e5a6..06f026a 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 c336ce5..6138ca4 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)