Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31122 invoked from network); 4 Dec 2014 09:08:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2014 09:08:56 -0000 Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:61862] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/02-16128-6A420845 for ; Thu, 04 Dec 2014 04:08:54 -0500 Received: by mail-lb0-f169.google.com with SMTP id p9so13601727lbv.14 for ; Thu, 04 Dec 2014 01:08:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=GIFWXiyhHJ9g3ywsqmbEYVoTZ/hfrYz6k0Ip1GJiJtY=; b=ALOu3p4lgcoi7c/oqIXHXAi73nLF9bqbBDrgbeze0NAVZLK6JlpAay7sMru96Ef6Y6 wfNDjx5JgnvRkOZ8c9bnGfUBcGfKaE53DhnaSKXIQ6j18/RJA5o/wxBWdMz23UXFLDXi Y49WNDI5VlGIxFOK+x1Gffh6WDpf1fELfS5RbNi79LicxGM0sqivB3NDns4T4/ehzNZu jk4yaosf9K6/cL7qHF8YTVG2dT6VXs5cWsGjZMb/fkgKix1OMHBYzNI0RfgMxCIT/tIL VNPJRnHoeRIQNYKLA2kB9ekkUxiCL5lvOV7mTRschOaLLVPVamUWS+yNh2B54PVOtxlf BWJw== X-Gm-Message-State: ALoCoQmaBq4n+TDYGG36pr30TzwCSPd1P2C8TDKZIkt5fbHl2Wfw0H40i9C1GbWACXPw8J057m62n1ofzx7TunVJzqhNkiIf91qXyhxgEa43xC+Q/4CqAI9fy60Fp1ZJx+ipXyaqzO+dnIHzrQB6OSZFnKnIXlcnmw== X-Received: by 10.152.26.131 with SMTP id l3mr8365407lag.49.1417684131248; Thu, 04 Dec 2014 01:08:51 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPSA id rh1sm1408732lbb.8.2014.12.04.01.08.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 01:08:49 -0800 (PST) Received: by mail-lb0-f175.google.com with SMTP id u10so14003189lbd.34 for ; Thu, 04 Dec 2014 01:08:49 -0800 (PST) X-Received: by 10.112.16.168 with SMTP id h8mr8338832lbd.41.1417684129395; Thu, 04 Dec 2014 01:08:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.64.176 with HTTP; Thu, 4 Dec 2014 01:08:28 -0800 (PST) In-Reply-To: References: Date: Thu, 4 Dec 2014 17:08:29 +0800 Message-ID: To: Benjamin Eberlei Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Turn gc_collect_cycles into a function pointer From: laruence@php.net (Xinchen Hui) Hey: On Thu, Dec 4, 2014 at 4:30 PM, Benjamin Eberlei wrote: > Good morning, > > This is just a very small change, I propose this RFC for discussion to turn > the C function "gc_collect_cycles" into a pointer. yeah, this idea is better than add hardly getimeofday into gc thanks > > https://wiki.php.net/rfc/gc_fn_pointer > > Composer's garbage collection optimization showed that PHP Profilers fail > to capture the dynamics of GC and we need better hooks to make this > possible. > > greetings > Benjamin -- Xinchen Hui @Laruence http://www.laruence.com/