From 39bfe5c7981473118880659bab27f8a721193e19 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Wed, 2 Nov 2005 00:06:30 +0000 Subject: [PATCH] gc_priv.h: Increase MAX_ROOT_SETS to 1024. 2005-11-01 Bryce McKinlay * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. From-SVN: r106362 --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/include/private/gc_priv.h | 14 +++----------- 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 + + * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. + 2005-09-15 Kazu Hirata * 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) -- 2.30.2