moz-1670885 - tor
-
dee0f57f2d15965b66a26f7c436a761044c88719
- Gabriele Svelto
- 2022-06-07 07:37:20 +0000
- Bug 1670885 - Fix post-fork() handlers for PHC/LogAlloc to work on macOS using unfair locks r=glandium
- macOS unfair locks enforce that a lock can only be released by the thread which locked it. On macOS 11+ this caused the fork()'d child process to raise a SIGILL signal. Confusingly enough this behavior seems to be different on macOS 10.15 and possibly interacted in odd ways with our exception handler if it was installed before fork()-ing. Differential Revision: https://phabricator.services.mozilla.com/D148287
-
39e4cc51a3913a4a8e79ae2f0e04daac815c4a84
- Gabriele Svelto
- 2022-06-07 07:37:20 +0000
- Bug 1670885 - Replace deprecated NSSpinLocks with os_unfair_locks in the memory allocator r=glandium
- Depends on D148287 Differential Revision: https://phabricator.services.mozilla.com/D99280