moz-1670885 - mullvad
-
479be7a7309de2468f1fdce9963de62a25b93b1c
- 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
-
db215d32b0a27d0cbf6bc21914755cc0f2a756d5
- 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