Log in

No account? Create an account
Artur Bergman [entries|archive|friends|userinfo]
Artur Bergman

[ website | O'Reilly Radar ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Aug. 7th, 2006|03:43 pm]
Artur Bergman
[Tags|, ]

Devel::GC::Helper has been released..

This module walks the entire perl space, from main:: and notes what it has found, then it walks all SVs that are active and tells you which ones are potential leaks.

Basically, a easy mark and sweep, try using it with Devel::Cycle and enjoy!

From: baudehlo
2006-08-08 02:00 am (UTC)


Couldn't you just SvREFCNT_dec everything you see as leaked, assuming this works well enough to find "real" leaks? That way you could have the best of both worlds - a reference counted AND a garbage collected language.
(Reply) (Thread)
[User Picture]From: crucially
2006-08-08 04:24 am (UTC)

Re: SvREFCNT_dec

Yes you could, but really you want to find thing that keeps it alive and just SvREFCNT_dec that, also it is entirely possible that XS modules are keeping something alive, and we can't find that.
(Reply) (Parent) (Thread)