- May 29, 2023
-
-
On macOS versions prior to 10.15 os_unfair_locks cannot spin in kernel-space which degrades performance significantly. To obviate for this we spin in user-space like OSSpinLock does, for the same number of times and invoking x86-specific pause instructions in-between the locking attempts to avoid starving a thread that might be running on the same physical core. Differential Revision: https://phabricator.services.mozilla.com/D154205
-
Bug 1774458 - Use undocumented, non-public adaptive spinlocks on macOS 10.15+, revert to user-space spinlocks on older versions r=pbone Differential Revision: https://phabricator.services.mozilla.com/D149599
-
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
-
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
-
- Oct 17, 2022
-
-
Tom Ritter authored
-
- May 07, 2022
-
-
Marian-Vasile Laza authored
Backed out changeset d220d82e1b81 (bug 1670885) Backed out changeset bf5d0e1ffcfd (bug 1670885)
-
Gabriele Svelto authored
Bug 1670885 - Replace deprecated NSSpinLocks with os_unfair_locks in the memory allocator r=glandium Differential Revision: https://phabricator.services.mozilla.com/D99280
-
- May 03, 2022
-
-
Serge Guelton authored
Differential Revision: https://phabricator.services.mozilla.com/D144202
-
- Mar 16, 2022
-
-
Randell Jesup authored
Differential Revision: https://phabricator.services.mozilla.com/D140849
-
Noemi Erli authored
-
Randell Jesup authored
Differential Revision: https://phabricator.services.mozilla.com/D140849
-
Butkovits Atila authored
-
Randell Jesup authored
Differential Revision: https://phabricator.services.mozilla.com/D140849
-
- Feb 25, 2022
-
-
Zhao Jiazhong authored
Differential Revision: https://phabricator.services.mozilla.com/D139567
-
- Dec 30, 2021
-
-
Mike Hommey authored
Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges While mingw builds don't require user32 and advapi32 explicitly, it doesn't hurt for them to be there (and they're required for clang-cl build). Likewise, while clang-builds don't require uuid and userenv explicitly because they're pulled in via #pragmas in the source code, mingw doesn't support those #pragmas and needs them explicitly, which doesn't hurt the clang-cl builds. Differential Revision: https://phabricator.services.mozilla.com/D134737
-
- Dec 29, 2021
-
-
Iulian Moraru authored
-
Mike Hommey authored
Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges While mingw builds don't require user32 and advapi32 explicitly, it doesn't hurt for them to be there (and they're required for clang-cl build). Likewise, while clang-builds don't require uuid and userenv explicitly because they're pulled in via #pragmas in the source code, mingw doesn't support those #pragmas and needs them explicitly, which doesn't hurt the clang-cl builds. Differential Revision: https://phabricator.services.mozilla.com/D134737
-
- Dec 07, 2021
-
-
Paul Bone authored
For a unified it is possible to include FdPrintf.cpp before FdPrintf.h which creates a compilation warning for FdPrintf's attributes. FdPrintf.cpp should include FdPrintf.h so that the declaration always precedes the definition. Depends on D132913 Differential Revision: https://phabricator.services.mozilla.com/D132914
-
Paul Bone authored
Fix the reported error in Bug 1743713 plus a linker error. Differential Revision: https://phabricator.services.mozilla.com/D132913
-
- Dec 01, 2021
-
-
Chris Peterson authored
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues. There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files. Differential Revision: https://phabricator.services.mozilla.com/D132289
-
- Nov 26, 2021
-
-
Gian-Carlo Pascutto authored
Differential Revision: https://phabricator.services.mozilla.com/D132006
-
Gian-Carlo Pascutto authored
Differential Revision: https://phabricator.services.mozilla.com/D28516
-
- Nov 23, 2021
-
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D131576
-
- Nov 22, 2021
-
-
Iulian Moraru authored
Backed out changeset 85fdbf7e368a (bug 1735482) for causing OS X build bustages on mozjemalloc.cpp. CLOSED TREE
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D131576
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D131197
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D129807
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D129806
-
- Nov 18, 2021
-
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D131576
-
- Oct 29, 2021
-
-
Chris Peterson authored
Bug 1736968 - Change MOZ_CRASH() to MOZ_ASSUME_UNREACHABLE_MARKER() for abort()'s ARM noreturn case. r=glandium This MOZ_CRASH() is redundant after calling noreturn function mozalloc_abort. The MOZ_ASSUME_UNREACHABLE_MARKER() annotation makes ARM's "function declared 'noreturn' should not return" warnings go away. Differential Revision: https://phabricator.services.mozilla.com/D129115
-
Chris Peterson authored
Bug 1736968 - Pass mozalloc_abort() crash reason to MOZ_CRASH() to distinguish mozalloc_abort() and bare MOZ_CRASH() crashes. r=glandium Differential Revision: https://phabricator.services.mozilla.com/D129114
-
- Oct 27, 2021
-
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D129228
-
- Oct 26, 2021
-
-
criss authored
Backed out changeset 27b73fdbb4a9 (bug 1737199) for causing bustages on memory/replace/logalloc/replay/Replay.cpp. CLOSED TREE
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D129228
-
- Oct 21, 2021
-
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D128983
-
Paul Bone authored
jemalloc_stats takes an array for its second argument. It expects this array to have enough space for all the bins, previously the maximum was set as a magic number. To make it dependent on the configured bins this patch replaces the compile-time constant with a function. Differential Revision: https://phabricator.services.mozilla.com/D127761
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D128448
-
- Oct 13, 2021
-
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D92729
-
- Oct 12, 2021
-
-
Marian-Vasile Laza authored
-
Paul Bone authored
Differential Revision: https://phabricator.services.mozilla.com/D92729
-