Mercurial > emacs
comparison src/alloc.c @ 12605:c5798bb57fdd
(init_alloc_once): Set gc_cons_threshold from Lisp obj size.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 Jul 1995 03:39:43 +0000 |
parents | c7d32f5da2b3 |
children | 3433bb446e06 |
comparison
equal
deleted
inserted
replaced
12604:140e46e751a0 | 12605:c5798bb57fdd |
---|---|
2426 | 2426 |
2427 ignore_warnings = 0; | 2427 ignore_warnings = 0; |
2428 gcprolist = 0; | 2428 gcprolist = 0; |
2429 staticidx = 0; | 2429 staticidx = 0; |
2430 consing_since_gc = 0; | 2430 consing_since_gc = 0; |
2431 gc_cons_threshold = 300000; | 2431 gc_cons_threshold = 100000 * sizeof (Lisp_Object); |
2432 #ifdef VIRT_ADDR_VARIES | 2432 #ifdef VIRT_ADDR_VARIES |
2433 malloc_sbrk_unused = 1<<22; /* A large number */ | 2433 malloc_sbrk_unused = 1<<22; /* A large number */ |
2434 malloc_sbrk_used = 100000; /* as reasonable as any number */ | 2434 malloc_sbrk_used = 100000; /* as reasonable as any number */ |
2435 #endif /* VIRT_ADDR_VARIES */ | 2435 #endif /* VIRT_ADDR_VARIES */ |
2436 } | 2436 } |