mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
Discard disasm symbols on opcache restart
This commit is contained in:
parent
629fcb6a0f
commit
cefb228e15
@ -4564,6 +4564,13 @@ ZEND_EXT_API void zend_jit_restart(void)
|
||||
}
|
||||
|
||||
zend_jit_protect();
|
||||
|
||||
#ifdef HAVE_DISASM
|
||||
if (JIT_G(debug) & (ZEND_JIT_DEBUG_ASM|ZEND_JIT_DEBUG_ASM_STUBS)) {
|
||||
zend_jit_disasm_shutdown();
|
||||
zend_jit_disasm_init();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user