summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-03-21 18:59:39 +0100
committerAnatol Belski <ab@php.net>2016-03-21 18:59:39 +0100
commite988239634fa8c9e01373458d84ef84f1f69a223 (patch)
treee6f731b3c60960c411d69f95de4b5032804fb726 /ext/pcre/php_pcre.c
parente23a41225fc4ea099b88e7fc450459173443d98f (diff)
downloadphp-git-e988239634fa8c9e01373458d84ef84f1f69a223.tar.gz
decrease the default PCRE JIT stack to 64K
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 128089c0bd..24ed6ca5d6 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