diff options
author | Anatol Belski <ab@php.net> | 2016-03-21 17:15:44 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-03-21 17:31:26 +0100 |
commit | e23a41225fc4ea099b88e7fc450459173443d98f (patch) | |
tree | 4ffe214aa897e1e6f1221099de3bf82319e3adad /sapi/cli/php_cli.c | |
parent | cb240fe711ed1f42c539d17d0db8466b7d7e5e85 (diff) | |
download | php-git-e23a41225fc4ea099b88e7fc450459173443d98f.tar.gz |
Increase PCRE JIT stack size
It is done by implementing the custom stack usage. This makes the
JIT with mode on more compatible with the JIT mode off. Until now, the
default PCRE JIT stack was used which is 32kb big by default. There
are situations where some patterns would fail with JIT while working
correctly without JIT.
The starting size of the JIT stack is still set to 32kb, while the
max is set to the permissive 256kb (and can be increased up to 1mb).
As until now no suchlike bugs regarding JIT were reported, it is expected,
that the stack usage will stay by 32kb in most cases. Though providing
the custom stack, applications will have more room for some sporadic
stack increase, thus more compatibility.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions