Skip to content

Commit cefb228

Browse files
committed
Discard disasm symbols on opcache restart
1 parent 629fcb6 commit cefb228

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/opcache/jit/zend_jit.c

+7
Original file line numberDiff line numberDiff line change
@@ -4564,6 +4564,13 @@ ZEND_EXT_API void zend_jit_restart(void)
45644564
}
45654565

45664566
zend_jit_protect();
4567+
4568+
#ifdef HAVE_DISASM
4569+
if (JIT_G(debug) & (ZEND_JIT_DEBUG_ASM|ZEND_JIT_DEBUG_ASM_STUBS)) {
4570+
zend_jit_disasm_shutdown();
4571+
zend_jit_disasm_init();
4572+
}
4573+
#endif
45674574
}
45684575
}
45694576

0 commit comments

Comments
 (0)