Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98375 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51431 invoked from network); 2 Mar 2017 11:56:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2017 11:56:57 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:34272] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/C2-20342-78808B85 for ; Thu, 02 Mar 2017 06:56:56 -0500 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 8E49E782A72; Thu, 2 Mar 2017 12:56:52 +0100 (CET) Received: from w530phpdev (p54A766C6.dip0.t-ipconnect.de [84.167.102.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 23052782999; Thu, 2 Mar 2017 12:56:50 +0100 (CET) To: "'Dmitry Stogov'" , "'Nikita Popov'" , "'Xinchen Hui'" , "'Joe Watkins'" Cc: "'PHP internals list'" References: <005501d28917$c472d9c0$4d588d40$@belski.net> <00a001d28922$4e320500$ea960f00$@belski.net> <00e501d28b91$03b33280$0b199780$@belski.net> In-Reply-To: <00e501d28b91$03b33280$0b199780$@belski.net> Date: Thu, 2 Mar 2017 12:56:46 +0100 Message-ID: <04f901d2934c$13a0d270$3ae27750$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGdeWbJLEby5/ZsPBjtYvSAiRoltAL1j84dAWF3nYUCr3BN0qGzZ2fA Content-Language: en-us Subject: RE: [PHP-DEV] Re: Thread safe interned strings From: anatol.php@belski.net ("Anatol Belski") Hi, > -----Original Message----- > From: Anatol Belski [mailto:anatol.php@belski.net] > Sent: Monday, February 20, 2017 4:50 PM > To: 'Dmitry Stogov' ; 'Nikita Popov' ; > 'Xinchen Hui' ; 'Joe Watkins' > Cc: 'PHP internals list' > Subject: RE: [PHP-DEV] Re: Thread safe interned strings > > Hi, > > > > For now, I see one missing part - opcache can't work completely out > > > of the > > box, > > > because its interned string related functions are wrapped with > > > #ifndef ZTS > > > > > Oh, indeed. Getting to this part now then :) > > > > The Opcache support is done now. Additional things that are done > > - some startup/shutdown sequence refactoring was required in zend.c, to > mitigate shutdown issues with Opcache > - CG(zend_string) was removed, instead there is a global variable > - fixed phpdbg integration > > With this, looks like it's ready for the next review round. I'm doing some load > tests in between. > I'm glad to inform, that the interned strings unification patch has reached the stable state now. It can be found under https://github.com/php/php-src/pull/2390 . The tests are successful so far with FCGI and Apache under Linux and Windows. The intention is to merge the patch into master next days. Additional testing would be great to have, of course. Huge thanks to Dmitry for the valuable support! Regards Anatol