Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79413 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23888 invoked from network); 4 Dec 2014 08:30:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2014 08:30:45 -0000 Authentication-Results: pb1.pair.com header.from=kontakt@beberlei.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kontakt@beberlei.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain beberlei.de from 74.125.82.50 cause and error) X-PHP-List-Original-Sender: kontakt@beberlei.de X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:35357] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/90-16128-2BB10845 for ; Thu, 04 Dec 2014 03:30:44 -0500 Received: by mail-wg0-f50.google.com with SMTP id k14so22024182wgh.9 for ; Thu, 04 Dec 2014 00:30:40 -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:date:message-id:subject:from:to :content-type; bh=lzEnOqJZ6x3Lp038GI94AqU3NyTPBCKE2r1HE9cMWS4=; b=KVtXSS1YYWOgBnLDLkNdsSUWMoVSV4wZFGmIx8lufDlf+GGyVzh34q7Uj1kwgO4OAB YmLte06vSdiSnqepqIo0iEA87SqZSc8Kj8hMgBk4wGKhEHcl5pHGIqDw8KNmPi1ubIYx 4oUfGabWv/wbX1/kWAcT5tlRlF81H6PDeghYT2ZhzQmW+vYFa5FekVFHm6Yl/lNZ7tdS S0y+wwiO1y0O0ed5ke1kS9pWtLsfRKESf4hnX5po6C5fyt6EpY3seoSSmClSrzg6l/s5 8Y9wxIeq4vHO6pFxkZ1x4fIqI6HSrjZL7kZqP3h6PQ1OwEg3G69u9DFeB1EBMgSaQ9dI RPpQ== X-Gm-Message-State: ALoCoQkL4NbgLMB4gC3g6VEfVSTn5wEYIR0Vgm5khITrleELS5m2wYVETtwlRYamUE/XO9DXkw2h MIME-Version: 1.0 X-Received: by 10.194.103.232 with SMTP id fz8mr13983188wjb.110.1417681840051; Thu, 04 Dec 2014 00:30:40 -0800 (PST) Received: by 10.194.239.98 with HTTP; Thu, 4 Dec 2014 00:30:40 -0800 (PST) X-Originating-IP: [93.129.179.251] Date: Thu, 4 Dec 2014 09:30:40 +0100 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary=047d7bf109f07b2df805095fc647 Subject: [RFC] Turn gc_collect_cycles into a function pointer From: kontakt@beberlei.de (Benjamin Eberlei) --047d7bf109f07b2df805095fc647 Content-Type: text/plain; charset=UTF-8 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. 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 --047d7bf109f07b2df805095fc647--