[PATCH] malloc: Remove dumped heap support
Florian Weimer
fweimer@redhat.com
Wed Sep 17 06:04:35 GMT 2025
* Adhemerval Zanella Netto:
> On 16/09/25 16:14, Florian Weimer wrote:
>> * Adhemerval Zanella Netto:
>>
>>> Right, but from Florian's comment the emacs configure checks for
>>> Doug Lea malloc style will always return false. And afaik the
>>> heap dump support is an startup optimization, so not really
>>> required to run old emacs binaries.
>>
>> No, it is required to run old Emacs binaries. It is also quite
>> difficult to run old Emacs without dumping first. The temacs binary is
>> not not fully-featured. But this is rather old history by this point.
>>
>> I still think if people want to run these old Emacs binaries, they can
>> build their own out-of-tree malloc with suitable heap rewriting.
>
> Right, but does current dumped heap support work with old Emacs binaries
> or does we need extra hacks to make it happen?
The heap rewriting is only part of libc_malloc_debug.so.0, so there is
already an extra step.
Thanks,
Florian
More information about the Libc-alpha
mailing list