Re: Disabling the GC during shutdown

From: Date: Wed, 19 Jun 2013 18:43:04 +0000
Subject: Re: Disabling the GC during shutdown
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-67737@lists.php.net to get a copy of this message
On Jun 19, 2013, at 19:46, Anthony Ferrara <ircmaxell@gmail.com> wrote: > 1. Technically, all we need to do is force GC_G(gc_enabled) = 0 in > shutdown. But we could also use zend_alter_ini_entry which has the same > effect. The question comes is there any reason to go through the overhead > of altering the ini entry instead of the global directly? We do access the > global directly in other areas (but it's typically only set via ini)... If possible try to prevent users from shooting their feet by reenabling via ini_set() or gc_collect_cycles() or such. > Additionally, considering that this does solve a segfault, is it worth > nominating this for 5.3? Or is it too risky (or something else I'm > missing)... See my previous mail to the list ... johannes

« previous php.internals (#67737) next »