• Richard M. Stallman's avatar
    For glibc's malloc, include <malloc.h> for mallinfo, · d1658221
    Richard M. Stallman authored
    mallopt, struct mallinfo, and mallopt constants.
    (BYTES_USED): New macro.
    (memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
    (emacs_blocked_malloc): Set sbrk padding value for glibc, as is
    done with gmalloc.
    (allocate_vectorlike, make_uninit_string):
    Prevent using mmap for possible large chunks.
    (init_alloc_once): Set trim and mmap malloc parms, when using glibc.
    d1658221
alloc.c 74 KB