gecko-dev/xpcom/tests
Toshihito Kikuchi 7237c89b3d Bug 1715858 - Part3. Add a new category memory_watcher to the event ping. r=KrisWright
The new event is recoreded when we detect the system's memory is no longer low.
Each event object contains three numbers:

  1) how many times a tab was unloaded during the low-memory situation
  2) how many memory-pressure events were dispatched during the low-memory
     situation
  3) how long we were in the low-memory situation in seconds

These need to be collected as the event ping because the memory situation
may repeatedly be switched between low-memory and high-memory.  We want to
collect it every time the memory situation gets back to normal.  If we collect
it as the main ping (like Histogram), all numbers are summed up and we cannot
evaluate each low-memory period.

Differential Revision: https://phabricator.services.mozilla.com/D120021
2021-07-22 21:15:01 +00:00
..
crashtests Bug 1714561 - Add test that single-zone JS holders can contain a pointer into the atoms zone r=mccr8 2021-06-07 15:19:30 +00:00
gtest Bug 1715858 - Part3. Add a new category memory_watcher to the event ping. r=KrisWright 2021-07-22 21:15:01 +00:00
unit
windows
moz.build Bug 1714561 - Fix black lint. r=fix CLOSED TREE 2021-06-07 18:52:35 +03:00
NotXPCOMTest.idl
RegFactory.cpp
resources.h
SizeTest01.cpp
SizeTest02.cpp
SizeTest03.cpp
SizeTest04.cpp
SizeTest05.cpp
SizeTest06.cpp
test.properties
TestArguments.cpp
TestBlockingProcess.cpp
TestHarness.h
TestingAtomList.h
TestPRIntN.cpp
TestQuickReturn.cpp
TestShutdown.cpp
TestStreamUtils.cpp
TestUnicodeArguments.cpp
TestWinReg.js