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

Re: [PATCH] PERL_MEM_LOG option for C backtrace

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
January 21, 2019 16:28
Subject:
Re: [PATCH] PERL_MEM_LOG option for C backtrace
Message ID:
20190121162842.0c5830d4@shy.leonerd.org.uk
On Mon, 21 Jan 2019 11:18:58 -0500
James E Keenan <jkeenan@pobox.com> 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

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About