[Top][All Lists]

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

Re: Removal of unexec support from glibc malloc

From: Stefan Monnier
Subject: Re: Removal of unexec support from glibc malloc
Date: Tue, 26 Jan 2016 20:32:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>>> [realloc/free of a dumped heap object]
>> It may be a pain to fix them if they happen inside libraries.
> I think the dump-and-reload cycle resets global variables defined in
> libraries as long as they are not referenced by the main program.  This
> means libraries have difficulties to retain references to objects
> allocated before the dump.

I agree that it's unlikely that we'll bump into problems where there's
a realloc/free of dumped objects that happens completely inside a library.

More specifically, I wouldn't worry about this problem.


reply via email to

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