In perl.git, the branch sprout/maint-5.20-123029 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/d385684951d4e1197c32ad0f4371c5255766a34d?hp=0000000000000000000000000000000000000000>
at d385684951d4e1197c32ad0f4371c5255766a34d (commit)
- Log -----------------------------------------------------------------
commit d385684951d4e1197c32ad0f4371c5255766a34d
Author: Father Chrysostomos <[email protected]>
Date: Tue Oct 21 20:25:34 2014 -0700
[perl #123029] Donât steal PADSTALE buffers
9ffd39ab was supposed to steal buffers only from PADTMP SVs,
but PADTMP and PADSTALE share the same bit, PADMY mediating
between the two meanings. So we need to check the PADMY flag
as well.
M sv.c
commit e75eea488c53a9119ff147eb256afee551927d2f
Author: Father Chrysostomos <[email protected]>
Date: Tue Oct 21 18:07:22 2014 -0700
sv.c: Always #define COW threshold constants
They are also used in determining whether an operator target (PADTMP)
should be swiped.
If COW is not enabled, then the #if SV_COW_THRESHOLD ends up treating
the threshold as 0, which means swiping almost always happens for tar-
gets, resulting in an increase in malloc calls. So non-COW builds end
up slower than they need to be. This also caused bug #123029 to occur
more often under non-COW builds.
(cherry picked from commit 9f53080ae514a42899f88743c9a5113d4677e9f6)
M sv.c
commit 029988317d165cb2c0c7f73581bb70d358c56458
Author: Father Chrysostomos <[email protected]>
Date: Tue Oct 21 17:52:30 2014 -0700
state.t: Improve test for #123029
This version fails in 5.20.1 whether COW is enabled or not.
(cherry picked from commit a4f1ca6eb9658c4d589c98787f06e1851909c7d5)
M t/op/state.t
commit 60eaf23b013ea62d010333c18283f269a49e6e3b
Author: Aaron Crane <[email protected]>
Date: Tue Oct 21 18:38:27 2014 +0100
[perl #123029]: add regression test
This bug was fixed in c0683843e9299db25f354e2c8c90faa7614950d1.
(cherry picked from commit c4a33ecd3009146ea545628e3014a22c637b6bb1)
M t/op/state.t
-----------------------------------------------------------------------
--
Perl5 Master Repository