From: Jarkko Hietaniemi Date: Sat, 23 Aug 2003 07:37:41 +0000 (+0000) Subject: Move the note about known eval leaks earlier. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37c0adebee4df35675070b1f30e9578094f823d7;p=p5sagit%2Fp5-mst-13.2.git Move the note about known eval leaks earlier. p4raw-id: //depot/perl@20853 --- diff --git a/pod/perlhack.pod b/pod/perlhack.pod index b2fb021..2d05fc3 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -1931,6 +1931,11 @@ or in UNIXy environments you can also use the C command: env PERL_DESTRUCT_LEVEL=2 valgrind ./perl -Ilib ... +B: There are known memory leaks when there are compile-time +errors within eval or require, seeing C 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