-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit bff7a56
authored
* Revert "ext/opcache: use C11 atomics for "restart_in" (#10276)"
This reverts commit 061fcdb.
While the commit does indeed improve performance, @dstogov complained
that it disables the code path calling kill_all_lockers(), and thus
hanging workers are never killed and restarted.
#10276 (comment)
The fact that this feature was not implemented in the existing atomic
code path (i.e. Windows) did not mean that the feature was considered
not strictly necessary, but that the Windows implementation just did
not need the feature because SAPIs that work on Windows do not manage
child processes
#10276 (comment)
#10276 (comment)
* ext/opcache: document lack of kill_all_lockers() on Windows
kill_all_lockers() is not implemented on Windows, and does not need to
be.
1 parent 298aa74 commit bff7a56
3 files changed
+19
-32
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 | - | ||
139 | - | ||
140 | - | ||
141 | - | ||
142 | - | ||
138 | + | ||
143 | 139 |
| |
144 | 140 |
| |
145 | 141 |
| |
| |||
277 | 273 |
| |
278 | 274 |
| |
279 | 275 |
| |
280 | - | ||
276 | + | ||
281 | 277 |
| |
282 | 278 |
| |
283 | 279 |
| |
| |||
296 | 292 |
| |
297 | 293 |
| |
298 | 294 |
| |
299 | - | ||
295 | + | ||
300 | 296 |
| |
301 | 297 |
| |
302 | 298 |
| |
| |||
317 | 313 |
| |
318 | 314 |
| |
319 | 315 |
| |
320 | - | ||
321 | - | ||
322 | - | ||
316 | + | ||
323 | 317 |
| |
324 | 318 |
| |
325 | 319 |
| |
| |||
337 | 331 |
| |
338 | 332 |
| |
339 | 333 |
| |
334 | + | ||
335 | + | ||
340 | 336 |
| |
341 | 337 |
| |
342 | 338 |
| |
| |||
345 | 341 |
| |
346 | 342 |
| |
347 | 343 |
| |
348 | - | ||
344 | + | ||
349 | 345 |
| |
350 | 346 |
| |
351 | 347 |
| |
| |||
368 | 364 |
| |
369 | 365 |
| |
370 | 366 |
| |
371 | - | ||
367 | + | ||
372 | 368 |
| |
373 | 369 |
| |
374 | 370 |
| |
| |||
391 | 387 |
| |
392 | 388 |
| |
393 | 389 |
| |
394 | - | ||
390 | + | ||
395 | 391 |
| |
396 | 392 |
| |
397 | 393 |
| |
| |||
832 | 828 |
| |
833 | 829 |
| |
834 | 830 |
| |
835 | - | ||
831 | + | ||
836 | 832 |
| |
837 | 833 |
| |
838 | 834 |
| |
| |||
899 | 895 |
| |
900 | 896 |
| |
901 | 897 |
| |
902 | - | ||
898 | + | ||
899 | + | ||
900 | + | ||
901 | + | ||
902 | + | ||
903 | + | ||
904 | + | ||
905 | + | ||
903 | 906 |
| |
904 | 907 |
| |
905 | 908 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | - | ||
59 | - | ||
60 | - | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | - | ||
65 | - | ||
66 | 58 |
| |
67 | 59 |
| |
68 | 60 |
| |
| |||
269 | 261 |
| |
270 | 262 |
| |
271 | 263 |
| |
272 | - | ||
273 | - | ||
274 | - | ||
275 | - | ||
276 | - | ||
277 | - | ||
278 | - | ||
264 | + | ||
279 | 265 |
| |
280 | 266 |
| |
281 | 267 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | - | ||
27 | - | ||
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
|
0 commit comments