Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64373 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55168 invoked from network); 20 Dec 2012 06:54:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2012 06:54:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain zend.com does not designate 209.85.214.169 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:45580] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/7A-04341-E26B2D05 for ; Thu, 20 Dec 2012 01:54:39 -0500 Received: by mail-ob0-f169.google.com with SMTP id v19so2946766obq.0 for ; Wed, 19 Dec 2012 22:54:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=nshJyMk1PftT5nfJk5Krq+oMA05j3Hb2i6JbGPPUgWc=; b=FvWMGbYgOZw9lTMdykSkdrQhT1yEHvLtsFqYfXhR1xgvRpj/FlM6dVy+xNYKze9wFy uG1qYr6KL9tdDR6MJS8wO7eYGkIJRgScuNxpWr5AWfvUKo8Ttwa/NLXupk2LldldxLjw TLix8J37EYs1ETnfY0nQrvWTqrIeQcIuAL7OBJXCnOPVETM1t2QOHWA5EUSV9mmoK26j ATjt9govm3cPYjdYy1TwYnf6u2iQ55r/68awqpMqw79d1547rV9NYAoRiJrKxofQV6iZ tBMXMJ1zS4VNfRustOi7WGz8zPdGtvNrxXv/Ugvnq0XYsQdwepFH7f/uv0hVeFqubg3D EFFg== MIME-Version: 1.0 Received: by 10.60.0.136 with SMTP id 8mr7040219oee.35.1355986475439; Wed, 19 Dec 2012 22:54:35 -0800 (PST) Received: by 10.182.214.106 with HTTP; Wed, 19 Dec 2012 22:54:35 -0800 (PST) In-Reply-To: <50D210F9.8050707@lerdorf.com> References: <50D210F9.8050707@lerdorf.com> Date: Thu, 20 Dec 2012 09:54:35 +0300 Message-ID: To: Rasmus Lerdorf Cc: PHP Internals Content-Type: multipart/alternative; boundary=e89a8fb1ffde30569804d14334aa X-Gm-Message-State: ALoCoQmlxi64RviIXtEkboXk7JH8w9+cpGGJzMrpB5/BjVQzgMc960+jIM+JrEw5NjCQm3D67qIgjD6vimH4x2GFHQJ8hWUxJLrt0WWldxNcK5ayc/6uZbdEx0bIRhaKaa3TS60MOuYh Subject: Re: [PHP-DEV] Complete traits redesign for 5.5 From: dmitry@zend.com (Dmitry Stogov) --e89a8fb1ffde30569804d14334aa Content-Type: text/plain; charset=UTF-8 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 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 > --e89a8fb1ffde30569804d14334aa--