[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reclaiming memory before exit
From: |
Jeffrey Walton |
Subject: |
Re: reclaiming memory before exit |
Date: |
Thu, 14 May 2020 20:11:59 -0400 |
On Thu, May 14, 2020 at 8:00 PM Bruno Haible <address@hidden> wrote:
>
> Jeffrey Walton wrote:
> > > Building RPMs with -Dlint would mean performance
> > > penalty because some programs (e.g. sort) would explicitly release complex
> > > data structures just before exit, which is wasteful.
> >
> > I think it may be a bit presumptuous to call cleanup wasteful.
> >
> > Proper cleanup is inefficient in in some cases, but execution time is
> > only one metric. It may not be an important metric, either.
> >
> > Proper cleanup is necessary in other cases, like performing security
> > testing and evaluation. Memory checkers like Asan and Valgrind can't
> > differentiate between the "good" memory leaks and the "bad" ones.
>
> We discussed this already in the thread starting at [1].
Not everyone has GNU's low standards.
Jeff
- Re: gcc -fanalyze, (continued)
- Re: gcc -fanalyze, Kamil Dudka, 2020/05/12
- Re: gcc -fanalyze, Paul Eggert, 2020/05/12
- Re: gcc -fanalyze, Kamil Dudka, 2020/05/12
- Re: gcc -fanalyze, Paul Eggert, 2020/05/12
- Re: gcc -fanalyze, Kamil Dudka, 2020/05/13
- Re: gcc -fanalyze, Jeffrey Walton, 2020/05/13
- Re: reclaiming memory before exit, Bruno Haible, 2020/05/14
- Re: reclaiming memory before exit,
Jeffrey Walton <=
- Re: reclaiming memory before exit, Paul Eggert, 2020/05/14
- Re: reclaiming memory before exit, Jeffrey Walton, 2020/05/15
- Re: reclaiming memory before exit, Kamil Dudka, 2020/05/15
- Re: reclaiming memory before exit, Bruno Haible, 2020/05/15
- Re: reclaiming memory before exit, Jeffrey Walton, 2020/05/15
- Re: reclaiming memory at dlclose time, Bruno Haible, 2020/05/15
- Re: reclaiming memory before exit, Paul Smith, 2020/05/15
- Re: reclaiming memory before exit, Bruno Haible, 2020/05/15
- Re: reclaiming memory before exit, Paul Smith, 2020/05/16
- Re: reclaiming memory before exit, Paul Eggert, 2020/05/15