diff options
| author | Richard M. Stallman | 1995-07-19 03:39:43 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-19 03:39:43 +0000 |
| commit | 7d179cea040efc43c5d0723c0497ddbfa70c594c (patch) | |
| tree | f5c40867e2335331667122edfbce340dbb1603b4 /src/alloc.c | |
| parent | b297554a2813268c7b86d009c0c987c5f41c371b (diff) | |
| download | emacs-7d179cea040efc43c5d0723c0497ddbfa70c594c.tar.gz emacs-7d179cea040efc43c5d0723c0497ddbfa70c594c.zip | |
(init_alloc_once): Set gc_cons_threshold from Lisp obj size.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
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 () | |||
| 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 */ |