libdevel-leak-perl 0.03-ok2 source package in openKylin
Changelog
libdevel-leak-perl (0.03-ok2) yangtze; urgency=medium * Modify debian/control. -- zhangyichun <email address hidden> Sat, 17 Sep 2022 10:46:26 +0800
libdevel-leak-perl (0.03-ok2) yangtze; urgency=medium * Modify debian/control. -- zhangyichun <email address hidden> Sat, 17 Sep 2022 10:46:26 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libdevel-leak-perl_0.03.orig.tar.gz | 3.2 KiB | 6f42c34f11e2b4e3ea2e0e6b9416a88a685add447910caf4d91dd2c178177252 |
libdevel-leak-perl_0.03-ok2.debian.tar.xz | 1.8 KiB | 48bb9993feca52bc528b6f4a574a4c8daac043f03d69778c24c6365abb9f7a23 |
libdevel-leak-perl_0.03-ok2.dsc | 1.8 KiB | 77edb842a614beb8b37908a5a4963e3a08c26c4ca3966f87112f8281e6488be9 |
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.