com php-src: decrease the default PCRE JIT stack to 64K: ext/pcre/php_pcre.c
| From: | Anatol Belski | Date: | Mon, 21 Mar 2016 17:59:39 +0000 |
| Subject: | com php-src: decrease the default PCRE JIT stack to 64K: ext/pcre/php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91454@lists.php.net to get a copy of this message | ||
Commit: e988239634fa8c9e01373458d84ef84f1f69a223
Author: Anatol Belski <ab@php.net> Mon, 21 Mar 2016 18:59:39 +0100
Parents: e23a41225fc4ea099b88e7fc450459173443d98f
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e988239634fa8c9e01373458d84ef84f1f69a223
Log:
decrease the default PCRE JIT stack to 64K
Changed paths:
M ext/pcre/php_pcre.c
Diff:
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 128089c..24ed6ca 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -64,7 +64,7 @@ PHPAPI ZEND_DECLARE_MODULE_GLOBALS(pcre)
#ifdef PCRE_STUDY_JIT_COMPILE
#define PCRE_JIT_STACK_MIN_SIZE (32 * 1024)
-#define PCRE_JIT_STACK_MAX_SIZE (256 * 1024)
+#define PCRE_JIT_STACK_MAX_SIZE (64 * 1024)
ZEND_TLS pcre_jit_stack *jit_stack = NULL;
#endif