aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-LeakTrace/pkg-descr
blob: c1a631d6664114a8c3831030518131d078180345 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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.

WWW: http://search.cpan.org/dist/Test-LeakTrace/