diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-23 07:37:41 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-23 07:37:41 +0000 |
commit | 37c0adebee4df35675070b1f30e9578094f823d7 (patch) | |
tree | 1b4076303d7d1abd0a5686774f35cdc64d665634 /pod/perlhack.pod | |
parent | ebc18564261e706c77f947245d26506241c40f11 (diff) | |
download | perl-37c0adebee4df35675070b1f30e9578094f823d7.tar.gz |
Move the note about known eval leaks earlier.
p4raw-id: //depot/perl@20853
Diffstat (limited to 'pod/perlhack.pod')
-rw-r--r-- | pod/perlhack.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod index b2fb0211fa..2d05fc3841 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -1931,6 +1931,11 @@ or in UNIXy environments you can also use the C<env> command: env PERL_DESTRUCT_LEVEL=2 valgrind ./perl -Ilib ... +B<NOTE 3>: There are known memory leaks when there are compile-time +errors within eval or require, seeing C<S_doeval> in the call stack +is a good sign of these. Fixing these leaks is non-trivial, +unfortunately, but they must be fixed eventually. + =head2 Rational Software's Purify Purify is a commercial tool that is helpful in identifying @@ -1939,11 +1944,6 @@ badness. Perl must be compiled in a specific way for optimal testing with Purify. Purify is available under Windows NT, Solaris, HP-UX, SGI, and Siemens Unix. -The only currently known leaks happen when there are -compile-time errors within eval or require. (Fixing these -is non-trivial, unfortunately, but they must be fixed -eventually.) - =head2 Purify on Unix On Unix, Purify creates a new Perl binary. To get the most |