emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading progress


From: Eli Zaretskii
Subject: Re: Dynamic loading progress
Date: Mon, 23 Nov 2015 18:35:11 +0200

> Cc: Philipp Stephani <address@hidden>, address@hidden,
>  address@hidden, address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> Date: Mon, 23 Nov 2015 08:29:16 -0800
> 
> Yes, if another library calls the system malloc directly, the module 
> author will be stuck with that behavior. However, many libraries let or 
> require the caller to allocate memory, or provide ways for the caller to 
> specify the memory-allocator functions, and module authors should prefer 
> this to having the libraries invoke malloc directly, because Emacs wants 
> to do memory accounting etc.

I agree.

This is even more important in the Windows build of Emacs, because we
provide our own implementation of malloc and friends, which should be
less prone to heap fragmentation issues (it is an emulation of
mmap-based malloc).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]