Repository navigation
Commit 7ae8adc
committed
Fix AArch64 JIT stub handlers pointing at discarded veneers after opcache restart
zend_jit_commit_veneers() replaces zend_jit_stub_handlers[] entries with veneers
emitted inside trace code. zend_jit_restart() discards that code but kept the
table, so traces compiled after opcache_reset() branched into unrelated code and
PHP-FPM workers crashed or hung. Save the table at startup and restore it on
restart.1 parent 6ec6987 commit 7ae8adc
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
698 | 703 | | |
699 | 704 | | |
700 | 705 | | |
| |||
3726 | 3731 | | |
3727 | 3732 | | |
3728 | 3733 | | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
3729 | 3737 | | |
3730 | 3738 | | |
3731 | 3739 | | |
| |||
3889 | 3897 | | |
3890 | 3898 | | |
3891 | 3899 | | |
| 3900 | + | |
| 3901 | + | |
| 3902 | + | |
| 3903 | + | |
| 3904 | + | |
3892 | 3905 | | |
3893 | 3906 | | |
3894 | 3907 | | |
| |||
0 commit comments