gecko-dev/xpcom
Toshihito Kikuchi a2c93279d1 Bug 1713100 - Move AvailableMemoryTracker::Init() back to NS_InitXPCOM. r=gsvelto
Bug 1711610 moved `AvailableMemoryTracker::Init()` from `NS_InitXPCOM` to `XRE_mainRun`,
but it caused memory degradation because `AvailableMemoryTracker` was no longer initialized
in the child processes.

I made that part for `nsAvailableMemoryWatcher` to cache the pref value in the earlier design,
but it's not needed at all in the current design because `nsAvailableMemoryWatcher` loads
a mirror value every time.

This patch reverts `AvailableMemoryTracker::Init()` back to `NS_InitXPCOM`.

Differential Revision: https://phabricator.services.mozilla.com/D116742
2021-06-04 14:16:02 +00:00
..
base Bug 1712930 - Part 7: Get rid of NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED; r=smaug,perftest-reviewers,sparky 2021-06-01 13:10:48 +00:00
build Bug 1713100 - Move AvailableMemoryTracker::Init() back to NS_InitXPCOM. r=gsvelto 2021-06-04 14:16:02 +00:00
components Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-05-31 17:00:15 +00:00
docs Bug 1702245 - Expand XPCOM's in-tree documentation, r=xpcom-reviewers,kmag 2021-04-05 15:56:18 +00:00
ds Bug 1714357 - Use a nicer media query for proton context menus. r=Gijs 2021-06-03 17:51:48 +00:00
glue Bug 1704683 - Avoid loop for closing fd r=jld 2021-05-11 07:45:16 +00:00
idl-parser Backed out changeset 68f73772f51e (bug 1714376) for Xpcom failures in builds/worker/checkouts/gecko/xpcom/idl-parser/xpidl/runtests.py. CLOSED TREE 2021-06-04 02:19:33 +03:00
io Bug 1709887: Add missing #define in mingw builds. r=xpcom-reviewers,nika 2021-05-07 14:02:26 +00:00
libxpt/xptcall
reflect Bug 1711627 - Avoid xptdata.h being (indirectly) included so much. r=xpcom-reviewers,nika 2021-05-19 20:41:39 +00:00
rust Bug 1709935 - Support XPCOM refcount logging with rust-xpcom, r=xpcom-reviewers,mccr8 2021-05-19 17:29:23 +00:00
string Bug 1707096 - fix `deprecated-copy` detected by clang-trunk. r=sfink,jandem 2021-05-26 10:20:32 +00:00
system Bug 1682030 - Remove NPAPI plugin process from GeckoChildProcess r=jld,gsvelto 2021-04-06 19:28:20 +00:00
tests Backed out 14 changesets (bug 1705659, bug 472823, bug 669675) as requested by valentin for causing regressions. CLOSED TREE 2021-05-31 13:16:34 +03:00
threads Bug 1704923 - Pass the number of threads when setting up an external thread pool r=sfink,bas 2021-06-03 10:24:13 +00:00
windbgdlg Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
xpidl Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00
moz.build Bug 1695954: Move Gecko Logging MDN Page In-tree r=nika 2021-03-09 16:27:29 +00:00
xpcom-config.h.in