develooper Front page | perl.perl5.porters | Postings from January 2019

Re: [PATCH] PERL_MEM_LOG option for C backtrace

Thread Previous | Thread Next
Paul "LeoNerd" Evans
January 21, 2019 16:28
Re: [PATCH] PERL_MEM_LOG option for C backtrace
Message ID:
On Mon, 21 Jan 2019 11:18:58 -0500
James E Keenan <> wrote:

> Commit will need a better commit message.  The patch itself is
> outside of my expertise for commenting on; others will have to review.

How about:

  Add PERL_MEM_LOG=c... for C backtrace logging

  Adds a new flag, 'c' to the PERL_MEM_LOG option. When present, any
  newSV() or related call will additionally log 3 levels of backtrace
  from the C call stack, which may help further identify the code
  location responsible for generating leaking SVs.

Paul "LeoNerd" Evans      |  |

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About