Commit 49081834 authored by Richard M. Stallman's avatar Richard M. Stallman

(r_alloc_init): Set __malloc_extra_blocks.

parent 4c11ca80
......@@ -56,6 +56,8 @@ typedef unsigned long SIZE;
overlap. */
extern void safe_bcopy ();
extern int __malloc_extra_blocks;
#else /* not emacs */
#include <stddef.h>
......@@ -1002,6 +1004,10 @@ r_alloc_init ()
page_size = PAGE;
extra_bytes = ROUNDUP (50000);
/* Give GNU malloc's morecore some hysteresis
so that we move all the relocatable blocks much less often. */
__malloc_extra_blocks = 64;
first_heap->end = (POINTER) ROUNDUP (first_heap->start);
/* The extra call to real_morecore guarantees that the end of the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment