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
This commit is contained in:
Bryce McKinlay 2005-11-02 00:06:30 +00:00 committed by Bryce McKinlay
parent c96cfa49c2
commit 39bfe5c798
2 changed files with 7 additions and 11 deletions

View 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

View 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)