moz-1670885 - base

  • 9414da852cbe107c63aed3b87ff4ec31b5e00f76
  • 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
  • 560e589fe39e4fd5541b51a81be255b73250f86d
  • 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