com php-src: Wasted Shared Memory aboce 2Gb fix: ext/opcache/ze nd_shared_alloc.h
| From: | Stanislav Malyshev | Date: | Mon, 08 Dec 2014 12:14:15 +0000 |
| Subject: | com php-src: Wasted Shared Memory aboce 2Gb fix: ext/opcache/ze nd_shared_alloc.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84516@lists.php.net to get a copy of this message | ||
Commit: 999545258308effa49fde71b7af7fdd991256e3a
Author: Adrian <kontakt@adrianslowik.pl> Mon, 8 Dec 2014 13:14:15 +0100
Parents: eb6fb71e55f2560eb622cf0a2c872a5a2b7879df
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=999545258308effa49fde71b7af7fdd991256e3a
Log:
Wasted Shared Memory aboce 2Gb fix
Changed paths:
M ext/opcache/zend_shared_alloc.h
Diff:
diff --git a/ext/opcache/zend_shared_alloc.h b/ext/opcache/zend_shared_alloc.h
index ec7cc14..9b0bbc3 100644
--- a/ext/opcache/zend_shared_alloc.h
+++ b/ext/opcache/zend_shared_alloc.h
@@ -102,7 +102,7 @@ typedef struct _zend_smm_shared_globals {
/* Amount of free shared memory */
size_t shared_free;
/* Amount of shared memory allocated by garbage */
- int wasted_shared_memory;
+ size_t wasted_shared_memory;
/* No more shared memory flag */
zend_bool memory_exhausted;
/* Saved Shared Allocator State */