FreeBSD.software
Home/devel/p5-Test-LeakTrace

p5-Test-LeakTrace

0.17devel

Traces memory leaks

Test::LeakTrace provides several functions that trace memory leaks. This module scans arenas, the memory allocation system, so it can detect any leaked SVs in given blocks. Leaked SVs are SVs which are not released after the end of the scope they have been created. These SVs include global variables and internal caches. For example, if you call a method in a tracing block, perl might prepare a cache for the method. Thus, to trace true leaks, no_leaks_ok() and leaks_cmp_ok() executes a block more than once.

$pkg install p5-Test-LeakTrace
metacpan.org/release/Test-LeakTrace
Origin
devel/p5-Test-LeakTrace
Size
50.4KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)