summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-19 03:39:43 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-19 03:39:43 +0000
commit7d179cea040efc43c5d0723c0497ddbfa70c594c (patch)
treef5c40867e2335331667122edfbce340dbb1603b4 /src/alloc.c
parentb297554a2813268c7b86d009c0c987c5f41c371b (diff)
downloademacs-7d179cea040efc43c5d0723c0497ddbfa70c594c.tar.gz
(init_alloc_once): Set gc_cons_threshold from Lisp obj size.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 9e2e8d406d7..9d7a5dc4066 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2428,7 +2428,7 @@ init_alloc_once ()
gcprolist = 0;
staticidx = 0;
consing_since_gc = 0;
- gc_cons_threshold = 300000;
+ gc_cons_threshold = 100000 * sizeof (Lisp_Object);
#ifdef VIRT_ADDR_VARIES
malloc_sbrk_unused = 1<<22; /* A large number */
malloc_sbrk_used = 100000; /* as reasonable as any number */