develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #123029] 5.20.x regression in "state" under PERL_NO_COW

Thread Next
From:
Father Chrysostomos via RT
Date:
October 22, 2014 03:28
Subject:
[perl #123029] 5.20.x regression in "state" under PERL_NO_COW
Message ID:
rt-4.0.18-10170-1413948520-933.123029-15-0@perl.org
On Tue Oct 21 16:19:36 2014, sprout wrote:
> I’ll write a separate maint patch on a branch.

Please review (and maybe even vote on backporting) the sprout/maint-5.20-123029 branch, which contains two fixes:

1) Don’t swipe short PADTMP buffers when COW is disabled.  That was
   never intended to happen, and it is a regression, in that it
   causes a significant slowdown.
2) Check the flags properly and don’t steal buffers from state vars.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=123029

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About