mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Improve JIT config in fuzzer SAPI (#12519)
* Improve JIT config in fuzzer SAPI * Fix * Fix * Update
This commit is contained in:
parent
50c2a9305c
commit
df286a1b98
2 changed files with 8 additions and 3 deletions
|
@ -58,7 +58,8 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) {
|
|||
"zend_extension=%s\n"
|
||||
"opcache.validate_timestamps=0\n"
|
||||
"opcache.file_update_protection=0\n"
|
||||
"opcache.jit_buffer_size=256M",
|
||||
"opcache.jit_buffer_size=128M"
|
||||
"opcache.protect_memory=1",
|
||||
opcache_path);
|
||||
free(opcache_path);
|
||||
|
||||
|
|
|
@ -62,12 +62,16 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) {
|
|||
"zend_extension=%s\n"
|
||||
"opcache.validate_timestamps=0\n"
|
||||
"opcache.file_update_protection=0\n"
|
||||
"opcache.jit_buffer_size=256M\n"
|
||||
"opcache.memory_consumption=1024\n"
|
||||
"opcache.jit_buffer_size=128M\n"
|
||||
"opcache.jit_hot_func=1\n"
|
||||
"opcache.jit_hot_loop=1\n"
|
||||
"opcache.jit_hot_return=1\n"
|
||||
"opcache.jit_hot_side_exit=1\n"
|
||||
"opcache.jit_max_root_traces=32768",
|
||||
"opcache.jit_max_root_traces=100000\n"
|
||||
"opcache.jit_max_side_traces=100000\n"
|
||||
"opcache.jit_max_exit_counters=100000\n"
|
||||
"opcache.protect_memory=1\n",
|
||||
opcache_path);
|
||||
free(opcache_path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue