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
commiteb6a66b58c4d11d7555b6a4d9bf13b5cf6fc141b (patch)
tree9afff73cc63f8310aba30250eab34f9c1ae32e4b /src/alloc.c
parent01946cf4a4e12bbc3d401947254208b52ac811b2 (diff)
downloademacs-eb6a66b58c4d11d7555b6a4d9bf13b5cf6fc141b.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 */