You are viewing crucially

Artur Bergman - [entries|archive|friends|userinfo]
Artur Bergman

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

[Aug. 7th, 2006|03:43 pm]
Previous Entry Share Next Entry
[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!
LinkReply

Comments:
[User Picture]From: idonotlikepeas
2006-08-07 10:55 pm (UTC)

(Link)

In Bugs: tvo magic elements (you probably meant "two").

That said, I'm going to start using this right away. Thanks!
[User Picture]From: crucially
2006-08-07 11:00 pm (UTC)

(Link)

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

SvREFCNT_dec

(Link)

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.
[User Picture]From: crucially
2006-08-08 04:24 am (UTC)

Re: SvREFCNT_dec

(Link)

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.
[User Picture]From: keltickolor
2006-08-08 06:19 am (UTC)

(Link)

I dream of the day when I can go "O-M-G he released Devel::GC::Helper!! I'm so excited!!"

But right now I still have no idea what it means.
[User Picture]From: crucially
2006-08-08 06:38 am (UTC)

(Link)

Heh, it is a perl module, perl being the programming language that for example LiveJournal is written in.
[User Picture]From: xb95
2006-08-08 07:28 am (UTC)

(Link)

And then, only parts of LiveJournal. Other parts are written in HTML, CSS, JavaScript, C++, C, and this nasty thing called BML which is a bastardization of the above.

Oh, and I think we use some shell script in a few places.
[User Picture]From: crucially
2006-08-08 03:37 pm (UTC)

(Link)

And in the efforts to not confuse newbies, we don't have to say that ;)

BML is for all practical purposes perl, but you did forget S2!
[User Picture]From: keltickolor
2006-08-09 06:42 am (UTC)

(Link)

I speak HTML. And some CSS, and some C++ (though by "Some C++" I mean that a year ago, I knew how to write a program that could count to three.) I've heard of the others. How do you guys juggle so many languages?
[User Picture]From: keltickolor
2006-08-09 06:40 am (UTC)

(Link)

And a module means it's a what?
[User Picture]From: crucially
2006-08-09 06:47 am (UTC)

(Link)

It is a collection of code you can reuse for differnet applications.
[User Picture]From: keltickolor
2006-08-11 04:36 am (UTC)

(Link)

oh sweet. So basically you were just all "Hey coders, here's some free stuff for you. Enjoy!"?
[User Picture]From: crucially
2006-08-11 05:21 am (UTC)

(Link)

Bingo!
[User Picture]From: keltickolor
2006-08-12 06:22 am (UTC)

(Link)

...why? That somehow seems anticapitalist and free market and all that stuff they brainwash the next generation with during current events and econ class.
[User Picture]From: crucially
2006-08-12 06:56 am (UTC)

(Link)

http://www.opensource.org/

http://www.fsf.org/

Because the value of the software in my own use is much lower, than the value of people using it and contributing back and liking me.
[User Picture]From: keltickolor
2006-08-12 09:56 pm (UTC)

(Link)

Free popularity!

Internet business is so wacky. And sounds like so much fun.