1 Revision history for autovivification
3 0.15 2015-05-14 20:35 UTC
4 + Chg : The new environment variable to enable thread tests on older
5 perls is PERL_FORCE_TEST_THREADS. Note that this variable
6 should only be turned on by authors.
7 + Fix : The module has been taught about the new multideref
8 optimization, and will function properly on perl 5.21.11 and
10 + Fix : The module will no longer crash or behave erratically when it
11 is loaded by several threads (or Windows emulated processes)
13 + Fix : Update the Windows ActivePerl + gcc 3.4 workaround for
14 ExtUtils::MakeMaker 7.04. Thanks Christian Walde for reporting
15 and feedback on this issue.
16 + Fix : Be really compatible with the optional OP_PARENT feature.
17 + Tst : $ENV{$Config{ldlibpthname}} is now preserved on all platforms,
18 which will address failures of t/43-peep.t and
19 t/51-threads-teardown.t with unusual compilers (like icc) that
20 link all their compiled objects to their own libraries.
22 0.14 2014-11-01 22:25 UTC
23 + Fix : [RT #99458] : AnyEvent::Loop hangs if autovivification 0.13 is
25 [RT #99904] : 'no autovivification' breaks Lingua::EN::Inflect
27 This was a regression in 0.13 which caused the peephole
28 optimizer to loop infinitely on "... while 1" constructs.
29 However, the Lingua::EN::Inflect problem only occured in perl
31 Thanks Toshio Ito and Kent Fredric for reporting.
33 0.13 2014-10-04 16:55 UTC
34 This release contains a change that, while being very likely to be safe,
35 can potentially cause freezes during code compilation. Every release
36 should be carefully tested before being put in production, but this is
37 especially true for this one.
38 + Add : Support for the PERL_OP_PARENT optional feature introduced in
40 + Doc : The CAVEATS section now warns about the global slowdown during
41 compilation caused by this pragma.
42 + Fix : [RT #97703] : Android support
43 t/51-threads-teardown.t will no longer fail on Android.
44 Thanks Brian Fraser for reporting.
45 + Fix : Segfaults in eval in an END block of a Win32 pseudo-fork.
46 + Fix : Segfaults during global destruction of a thread or a
48 + Opt : The global slowdown caused by this module has been greatly
50 Thanks Ævar Arnfjörð Bjarmason for reporting and testing the
53 0.12 2013-09-05 17:20 UTC
54 + Fix : Check functions are now replaced and restored in a thread-safe
55 manner, either by using the wrap_op_checker() function from perl
56 when it is available (starting from perl 5.16) or by taking the
57 OP_REFCNT mutex on older perls.
58 + Tst : Author tests are no longer bundled with this distribution.
59 They are only made available to authors in the git repository.
61 0.11 2013-02-08 19:25 UTC
62 This is a maintenance release. The code contains no functional change.
63 Satisfied users of version 0.10 can skip this update.
64 + Doc : POD tweaks and clarifications.
65 + Tst : Threads tests will not fail anymore if resources constraints
66 prevent the system from creating all the required threads.
67 + Tst : Author tests overhaul.
69 0.10 2011-08-24 15:00 UTC
70 + Fix : The pragma no longer vivifies the "autovivification" entry
71 in the hints hash %^H on perl 5.8.
73 0.09 2011-01-05 18:40 UTC
74 + Fix : [RT #64435] : Hangs with File::Copy in Config.pm.
75 This was actually a regression introduced together with the new
76 peephole optimizer strategy, and that caused the pragma to hang
77 on constructs like "for (;;) { ... }".
78 Thanks Michael Schilli for reporting.
80 0.08 2011-01-03 21:00 UTC
81 + Fix : Building on Windows.
83 0.07 2010-12-31 16:20 UTC
84 + Chg : perl 5.8.3 is required.
85 + Doc : Complements and clarifications.
86 + Fix : Segmentation faults and misbehaviours in threaded applications.
87 + Fix : Compatibility with perl 5.13.7.
88 Thanks Andreas J. König for reporting and Andrew Main for
90 + Fix : Broken linkage on Windows with gcc 3.4, which appears in
91 particular when using ActivePerl's default compiler suite.
92 For those setups, the autovivification shared library will now
93 be linked against the perl dll directly (instead of the import
95 + Opt : The pragma takes slightly more time at compile-time, but is
96 slightly faster at run-time.
97 + Tst : Lengthy tests have been ported to Test::Leaner, making the
98 whole test suite about 50% faster.
99 + Tst : Threads tests are now only run on perl 5.13.4 and higher.
100 They could segfault randomly because of what seems to be an
101 internal bug of Perl, which has been addressed in 5.13.4.
102 There is also an environment variable that allows you to
103 forcefully run those tests, but it should be set only for
104 author testing and not for end users.
106 0.06 2010-04-24 17:40 UTC
107 + Add : The A_THREADSAFE and A_FORKSAFE constants.
108 + Fix : [RT #56870] : "no autovivification" vs Regexp::Common.
109 This was a bug in how tied arrays and hashes were handled.
110 Thanks Michael G. Schwern for reporting.
111 + Fix : Scope leaks under perl 5.8-5.10.0.
112 + Fix : Segfaults when first loading the pragma from inside a thread.
114 0.05 2010-03-05 23:15 UTC
115 + Fix : [RT #55154] : Crashes and assertion failures when deparsing and
116 re-eval-uating some code compiled while autovivification was in
118 Thanks Michael G. Schwern for reporting.
119 + Fix : [RT #53647] : "leys" typo in pod.
120 Thanks Hinrik Orn Sigurdsson for reporting.
122 0.04 2010-01-10 00:30 UTC
123 + Add : Array and hash slices are now handled by the pragma.
124 + Fix : Work around Kwalitee test misfailures.
126 0.03 2009-06-23 22:20 UTC
127 + Add : Handle old-fashion dereferencing (like $$hashref{key}).
128 + Chg : Aliasing constructs (for ($x{foo}) { ... }) are now covered by
129 the 'store' category (and no longer the 'fetch' one). This is
130 because there's no way to know at compile-time if the alias
132 + Fix : Quadratic complexity at compile-time.
133 + Fix : Segfaults when dereferencing globals.
134 + Fix : Segfaults on big-endian systems.
135 + Tst : Really test plain arrays and hashes.
136 + Tst : Improved coverage.
138 0.02 2009-06-17 18:05 UTC
139 + Add : 'fetch' also applies to aliasing ("for ($hashref->{key}) { }").
140 + Fix : Don't segfault on "keys/values %$hashref", and don't vivify if
142 + Fix : Plain dereferencing shouldn't have a different behaviour when
143 the pragma is in use.
144 + Tst : Improved coverage.
146 0.01 2009-06-14 20:10 UTC
147 First version, released on an unsuspecting world.