Allocate MADPROPs using PerlMemShared_malloc()
authorNicholas Clark <nick@ccl4.org>
Mon, 11 Apr 2011 19:14:34 +0000 (20:14 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 19 May 2011 07:55:56 +0000 (08:55 +0100)
commitc111d5f1ab8852c556adefbb6b416fd22274677c
tree9e2bb3f919a4cc39b0bf4e9f350590170a8682be
parent37c6a70c7d35357916da21616c68e56c878a5bd2
Allocate MADPROPs using PerlMemShared_malloc()

As the MADPROPs are referenced from the optree, which is itself shared,
MADPROPs can't use the default malloc(), which is per i-thread, lest a
child thread frees the optree, and bad things(tm) happen. (a "free to wrong
pool" panic if you're on Win32, or elsewhere if you've got DEBUGGING)
op.c