Re: Complete traits redesign for 5.5
| From: | Dmitry Stogov | Date: | Thu, 20 Dec 2012 06:54:35 +0000 |
| Subject: | Re: Complete traits redesign for 5.5 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64373@lists.php.net to get a copy of this message | ||
Hi Rasmus,
I'm not sure about APC, I saw the problem in ZendOptimizerPlus with
php-5.4.10.
O+ crashes (or corrupts memory and crashes on following requests) on each
trait usage.
The problem that PHP tries to deallocate names of methods defined in
traits, but O+ keeps them in SHM.
I believe APC must have the same problem.
Thanks. Dmitry.
On Wed, Dec 19, 2012 at 11:09 PM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> On 12/19/2012 01:39 AM, Dmitry Stogov wrote:
> > Hi,
> >
> > opcode caches support is one of the problem we have with current
> > implementation.
> > 5.4.10 seems just can't work with any cache at all.
> > Of course, I'll care about it, and may give suggestions for necessary
> > APC changes.
>
> Do you have an example use of traits that doesn't work with APC? I
> actually thought we had gotten to all of the edge cases here. At least
> all the trait tests pass currently with APC. But yes, it was a pain, so
> some cleanup would be good.
>
> -Rasmus
>