com php-src: Better data packing: Zend/zend_gc.c

From: Date: Tue, 12 Mar 2019 19:19:11 +0000
Subject: com php-src: Better data packing: Zend/zend_gc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105112@lists.php.net to get a copy of this message
Commit: 824a9333987805cdaacc99589763a9f93b72633a Author: Dmitry Stogov <dmitry@zend.com> Tue, 12 Mar 2019 22:19:11 +0300 Parents: 04b67bac32e5fbc0942a1e15405fa1ca7f0438fe Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=824a9333987805cdaacc99589763a9f93b72633a Log: Better data packing Changed paths: M Zend/zend_gc.c Diff: diff --git a/Zend/zend_gc.c b/Zend/zend_gc.c index 2b39030..bc1fa4b 100644 --- a/Zend/zend_gc.c +++ b/Zend/zend_gc.c @@ -183,12 +183,13 @@ typedef struct _gc_root_buffer { } gc_root_buffer; typedef struct _zend_gc_globals { + gc_root_buffer *buf; /* preallocated arrays of buffers */ + zend_bool gc_enabled; zend_bool gc_active; /* GC currently running, forbid nested GC */ zend_bool gc_protected; /* GC protected, forbid root additions */ zend_bool gc_full; - gc_root_buffer *buf; /* preallocated arrays of buffers */ uint32_t unused; /* linked list of unused buffers */ uint32_t first_unused; /* first unused buffer */ uint32_t gc_threshold; /* GC collection threshold */

« previous php.cvs (#105112) next »