develooper Front page | perl.perl5.porters | Postings from March 2001

leaks by script

Thread Next
Nicholas Clark
March 4, 2001 09:12
leaks by script
Message ID:
Following the perl6 lists debate on GC, I read

You can use it as a leak tester (of sorts - anything it tries to GC is leak)

Hacked iperlsys.h and other bits to get it to link - all a bit depressing.
For example:

lib/socket............Leaked composite object at start: 0x815e000, appr. length: 16
Leaked composite object at start: 0x815e010, appr. length: 16
Leaked composite object at start: 0x815e030, appr. length: 16

(this is bleadperl, do I need to  #define anything other than PURIFY to
disable areas?)

However, I was going to attempt to patch the Boehm GC to also store script
name and line (as well as C file name and line) in its debugging info,
which should be a little bit more interesting... :-)

Nicholas Clark

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About