gecko-dev/build
kriswright df91a347b4 Bug 1532955 - Track available memory on linux. r=gsvelto,tkikuchi
This introduces a low memory watcher that dispatches an offthread read of /proc/meminfo every 5000/1000ms depending on memory levels, then determines which information to act on. It works like this:
- Get a percentage of `MemAvailable` versus `MemTotal`.
- If memory drops below 5% availability, we are in a memory pressure scenario
- If `MemAvailable` is not large enough to accommodate a content process, we are in a memory pressure scenario
- If we are in a memory pressure scenario, notify the observers from the main thread.

The value I decided to use to represent a content process was based on observation and should be adjusted if it is not representative of what we consider a "typical" content process.

Differential Revision: https://phabricator.services.mozilla.com/D117972
2021-12-02 11:14:30 +00:00
..
autoconf Bug 1726544 - Only remove --gc-sections when LIBFUZZER_FLAGS is actually used. r=firefox-build-system-reviewers,mhentges 2021-08-24 21:17:15 +00:00
build-clang Bug 1736970 - Apply 2 clang upstream fixes for reproducibility and revert one. r=andi 2021-11-24 07:07:48 +00:00
build-rust Bug 1723016 - Update builders to rustc 1.54. r=firefox-build-system-reviewers,nalexander 2021-08-03 02:03:32 +00:00
clang-plugin Bug 1532955 - Track available memory on linux. r=gsvelto,tkikuchi 2021-12-02 11:14:30 +00:00
compare-mozconfig
debian-packages Bug 1729401 - Upgrade valgrind to 3.17.0. r=firefox-build-system-reviewers,mhentges 2021-09-08 00:34:54 +00:00
docs Bug 1730712: Update "Moz site" terminology r=ahal 2021-11-17 20:54:23 +00:00
gyp_includes
liblowercase Bug 1703223 - Hook stat/stat64 in liblowercase. r=glandium 2021-04-13 09:23:54 +00:00
macosx Backed out changeset 572b175efb09 (bug 1696504) for causing regressions. a=backout 2021-12-01 19:48:29 +02:00
moz.configure Bug 1742885 - Use valid Windows SDK dir in --enable-path-remapping, and normalize SDK dirs. r=firefox-build-system-reviewers,glandium 2021-12-02 04:03:42 +00:00
package/mac_osx
pgo Bug 1732069: Consider loopback origin for Sec-Fetch-Site: same-site r=ckerschb 2021-11-04 08:56:29 +00:00
sanitizers Bug 1695285 - Pass ASan/UBSan flags to cargo for native builds. r=firefox-build-system-reviewers,glandium 2021-03-18 20:46:55 +00:00
sparse-profiles Bug 1717104: Align virtualenv_name with requirements definition r=ahal 2021-09-13 15:42:53 +00:00
tests/cram
unix Bug 1740042 - Use llvm-readelf instead of readelf when available. r=firefox-build-system-reviewers,mhentges 2021-11-23 02:28:18 +00:00
valgrind Bug 1742851 - Temporarily increase timeout for automation valgrind run r=bholley 2021-11-24 19:19:31 +00:00
win32 Bug 1736367 - Remove unused ReadbackLayer.h. r=gfx-reviewers,mstange 2021-10-18 14:12:48 +00:00
win64 Bug 1736367 - Remove unused ReadbackLayer.h. r=gfx-reviewers,mstange 2021-10-18 14:12:48 +00:00
win64-aarch64
workspace-hack Bug 1705376: Synchronize workspace-hack features and usage r=firefox-build-system-reviewers,glandium 2021-04-29 15:19:27 +00:00
__init__.py
.gdbinit Bug 1730022 - Improve debuggability of nsIContent. r=smaug 2021-09-10 16:39:15 +00:00
.gdbinit.loader
.gdbinit.py.in
.lldbinit.in
appini_header.py
application.ini.in
binary-location.mk
build_virtualenv_packages.txt Bug 1712151: Add test to verify virtualenv compatibility r=ahal 2021-09-28 14:59:28 +00:00
buildconfig.py
cargo-host-linker
cargo-host-linker.bat
cargo-linker
cargo-linker.bat
checksums.py
common_virtualenv_packages.txt Bug 1731158 - Allow initializing mach from a Thunderbird source repo. r=firefox-build-system-reviewers,mhentges 2021-11-29 18:34:58 +00:00
defines.sh
docs_virtualenv_packages.txt Bug 1717104: Align virtualenv_name with requirements definition r=ahal 2021-09-13 15:42:53 +00:00
dumbmake-dependencies
gecko_templates.mozbuild
gen_symverscript.py
gen_test_packages_manifest.py
gn.mozbuild
gyp_base.mozbuild Bug 1698669 - Fix gyp target_arch for little-endian powerpc64. r=firefox-build-system-reviewers,mhentges 2021-04-16 01:01:11 +00:00
gyp.mozbuild Bug 1654112 - remove MediaCodecVP8Codec. r=mjf 2021-10-07 12:11:40 -07:00
ipython_virtualenv_packages.txt Bug 1731836: Simplify ./mach python arguments r=ahal 2021-11-24 20:06:33 +00:00
mach_initialize.py Bug 1739067: Scope Mach virtualenv to be checkout-specific r=perftest-reviewers,ahal,sparky 2021-11-29 22:33:54 +00:00
mach_virtualenv_packages.txt Bug 1736458 - Upgrade python-zstandard to 0.16.0. r=firefox-build-system-reviewers,andi 2021-10-19 07:00:36 +00:00
midl.py
moz-automation.mk
moz.build Bug 1724830 - Remove MOZ_LIBSTDCXX_*_VERSION. r=firefox-build-system-reviewers,andi 2021-08-10 21:16:18 +00:00
mozconfig.artifact
mozconfig.artifact.automation
mozconfig.automation
mozconfig.cache
mozconfig.clang-cl
mozconfig.comm-support
mozconfig.common Bug 1712633 - Set MOZ_REQUIRE_SIGNING appropriately by default. r=firefox-build-system-reviewers,mhentges 2021-05-25 20:00:05 +00:00
mozconfig.common.override
mozconfig.lld-link
mozconfig.no-compile
mozconfig.rust
mozconfig.win-common
non-unified-compat Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley 2021-09-03 16:52:08 +00:00
psutil_requirements.in Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
psutil_requirements.txt Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
psutil_virtualenv_packages.txt Bug 1731836: Simplify ./mach python arguments r=ahal 2021-11-24 20:06:33 +00:00
python-test_virtualenv_packages.txt Bug 1723031: Remove pytest from vendored packages r=ahal 2021-09-28 20:21:39 +00:00
qemu-wrap
RunCbindgen.py Bug 1726373 - Fail the build when Cargo.lock is modified. r=firefox-build-system-reviewers,mhentges 2021-08-18 21:55:15 +00:00
templates.mozbuild Bug 1731976 - Generally allow warnings in security/rlbox. r=firefox-build-system-reviewers,andi 2021-10-08 09:48:38 +00:00
update-settings.ini
upload_generated_sources.py
upload.py
variables.py
windows_toolchain.py
zstandard_requirements.in Bug 1736458 - Upgrade python-zstandard to 0.16.0. r=firefox-build-system-reviewers,andi 2021-10-19 07:00:36 +00:00
zstandard_requirements.txt Bug 1736458 - Upgrade python-zstandard to 0.16.0. r=firefox-build-system-reviewers,andi 2021-10-19 07:00:36 +00:00