Difference between revisions of "Devel-Leak"
Megalanya 0 (talk | contribs) m (Blanked the page) |
(Undo revision 43218 by Megalanya 0 (talk)) |
||
Line 1: | Line 1: | ||
+ | {{Entry | ||
+ | |Name=Devel-leak | ||
+ | |Short description=utility for looking for perl objects that are not reclaimed | ||
+ | |Full description=Devel::Leak has two functions: NoteSV and CheckSV. | ||
+ | NoteSV walks the perl internal table of allocated SVs (scalar | ||
+ | values) - (which actually contains arrays and hashes too), and | ||
+ | records their addresses in a table. It returns a count of these | ||
+ | "things", and stores a pointer to the table (which is obtained | ||
+ | from the heap using malloc()) in its argument. | ||
+ | |||
+ | CheckSV is passed argument which holds a pointer to a table | ||
+ | created by NoteSV. It re-walks the perl-internals and calls | ||
+ | sv_dump() for any "things" which did not exist when NoteSV was | ||
+ | called. It returns a count of the number of "things" now | ||
+ | allocated. | ||
+ | |Homepage URL=https://metacpan.org/release/Devel-Leak | ||
+ | |User level= | ||
+ | |Component programs= | ||
+ | |VCS checkout command= | ||
+ | |Computer languages=C, Perl | ||
+ | |Status= | ||
+ | |Is GNU=No | ||
+ | |Version identifier=0.03-3+b1 | ||
+ | |Version download=http://ftp.debian.org/debian/pool/main/libd/libdevel-leak-perl/libdevel-leak-perl_0.03.orig.tar.gz | ||
+ | |Submitted by=Debian import | ||
+ | |Submitted date=2015-07-17 | ||
+ | }} | ||
+ | {{Import | ||
+ | |Source=Debian | ||
+ | |Source link=http://packages.debian.org/sid/libdevel-leak-perl | ||
+ | |Source packages=libdevel-leak-perl 0.03-3+b1 | ||
+ | |Date=2015-07-17 | ||
+ | }} | ||
+ | {{Project license | ||
+ | |License=Other | ||
+ | |License copyright=Copyright 1995-1998, Nick Ing-Simmons <nick@ni-s.u-net.com> | ||
+ | |License verified by=Debian: intrigeri <intrigeri@debian.org> | ||
+ | |License verified date=2014-03-09 | ||
+ | |License note=License: artistic or gpl-1+ | ||
+ | }} | ||
+ | {{Person | ||
+ | |Real name=Nick Ing-Simmons | ||
+ | |Role=contact | ||
+ | |Email=nick@ni-s.u-net.com | ||
+ | }} | ||
+ | {{Resource | ||
+ | |Resource kind=Download | ||
+ | |Resource URL=https://metacpan.org/release/Devel-Leak | ||
+ | }} |
Revision as of 06:00, 15 February 2017
Devel-leak
https://metacpan.org/release/Devel-Leak
utility for looking for perl objects that are not reclaimed
Devel::Leak has two functions: NoteSV and CheckSV.
NoteSV walks the perl internal table of allocated SVs (scalar values) - (which actually contains arrays and hashes too), and records their addresses in a table. It returns a count of these "things", and stores a pointer to the table (which is obtained from the heap using malloc()) in its argument.
CheckSV is passed argument which holds a pointer to a table created by NoteSV. It re-walks the perl-internals and calls sv_dump() for any "things" which did not exist when NoteSV was called. It returns a count of the number of "things" now allocated.
Download
http://ftp.debian.org/debian/pool/main/libd/libdevel-leak-perl/libdevel-leak-perl_0.03.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: intrigeri <intrigeri@debian.org>
Verified on
9 March 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Nick Ing-Simmons | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Perl (Ref) | https://metacpan.org/release/Devel-Leak | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libdevel-leak-perl |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.