in reply to Re^3: does threads (still) memleak?
in thread does threads (still) memleak?

Well, it seems you found another reason to be suspicious of threads, especially if you plan to use the script on multiple unknown platforms.

Hopefully faxm0dem has reported the bug to p5p, and as the testcase is so simple, it may get included in the testsuite. It so, it should prevent changes that cause memory leaks from getting through into new releases. Which if the problem has been fixed in 5.8.9 and the 5.10 branches, could make for a more reliable future for iThreads.

And maybe that is good reason to drop some of the old superstitions.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^5: does threads (still) memleak?
by zentara (Cardinal) on Nov 21, 2008 at 17:01 UTC
    good reason to drop some of the old superstitions.

    Yeah, but the problem is that there will always be those old versions of Perl installed somewhere, and even if 5.9 fixes it, all those obsolete 5.8 installs will linger around for years...... keeping the superstitions alive. So if you plan to distribute the scripts to unknown platforms and Perl versions, it may behoove programmers to play it safe, and try to reuse threads, which does work on 5.8. (At least for a few years).


    I'm not really a human, but I play one on earth Remember How Lucky You Are