Commit Graph
16 Commits
Author SHA1 Message Date
Noemi Erli c5ab2e5205 Backed out changeset 9fccb38453a4 (bug 1586236) for causing mass devtools failures 2019-11-03 05:17:02 +02:00
Gabriele Svelto 12882d1a65 Bug 1586236 - Use memory resource notifications to detect low memory scenarios on Windows; r=dmajor
This patch uses the low memory resource notification facility to detect
scenarios where physical memory is running low without polling. This is a
significant change compared to the previous behavior which measured both
available virtual memory (only on 32-bit builds) and available commit space.

Since we're not trying to avoid OOMs anymore we don't save memory reports
anymore when hitting a low-memory condition.

Differential Revision: https://phabricator.services.mozilla.com/D50471
2019-11-01 23:08:59 +00:00
Gurzau Raul baf4b481ce Backed out changeset 60cccadbeaf0 (bug 1586236) for failures at test_memoryReporters.xul on a CLOSED TREE. 2019-11-01 10:21:05 +02:00
Gabriele Svelto 602f14c500 Bug 1586236 - Use memory resource notifications to detect low memory scenarios on Windows; r=dmajor
This patch uses the low memory resource notification facility to detect
scenarios where physical memory is running low without polling. This is a
significant change compared to the previous behavior which measured both
available virtual memory (only on 32-bit builds) and available commit space.

Since we're not trying to avoid OOMs anymore we don't save memory reports
anymore when hitting a low-memory condition.

Differential Revision: https://phabricator.services.mozilla.com/D50471
2019-10-31 13:55:42 +00:00
Kristen Wright 3d0cd245c3 Bug 1513392 - move gathering total memory to before CanRecordReleaseData() bail r=erahm
Moves the trigger to gather total memory up about a hundred lines to the point before we bail on release so that it always triggers.

Differential Revision: https://phabricator.services.mozilla.com/D38249
2019-07-17 15:23:12 +00:00
Bren Louis 55cafcd3df Bug 1514372 - Removed time record regarding TELEMETRY_MEMORY_REPORTER_MS r=chutten 2019-06-06 23:01:01 +08:00
Kartikaya Gupta 5f9423d715 Bug 1551648 - Record peak resident memory usage in telemetry. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D32184
2019-05-23 20:06:33 +00:00
Sylvestre Ledru 0ac7481368 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488
2019-02-04 19:10:18 +00:00
Eric Rahm 564ee8af0b Bug 1523340 - Reduce scope of memory telemetry warning. r=kmag
Don't warn about measurements that aren't available for the current platform.

Differential Revision: https://phabricator.services.mozilla.com/D17862
2019-01-28 23:51:34 +00:00
Randell Jesup 682721b83e Bug 1522150: Add a DeferredTimers queue ahead of the normal Idle EventQueue r=froyd
* * *
Bug 1522150: Rename NS_IdleDispatch* functions since they take queue identifiers r=froyd
2019-01-26 12:18:05 -05:00
Jan de Mooij 92ad2c64ef Bug 1518077 part 2 - Add MEMORY_JS_REALMS_{USER,SYSTEM} similar to the MEMORY_JS_COMPARTMENTS_{USER,SYSTEM} counts. r=njn,chutten
Differential Revision: https://phabricator.services.mozilla.com/D15809
2019-01-08 15:11:36 +00:00
Jan de Mooij 13c6ebe539 Bug 1518077 part 1 - Fix MEMORY_JS_COMPARTMENTS_{USER,SYSTEM} telemetry to count number of compartments instead of realms. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D15808
2019-01-08 15:11:08 +00:00
Kris Maglione 9814c7576d Bug 1513366: Part 2 - Update MemoryTelemetry to use do_ImportModule. r=erahm
It makes things much simpler.

Differential Revision: https://phabricator.services.mozilla.com/D14210
2018-12-11 13:28:59 -08:00
Kris Maglione d4fb672d88 Bug 1513864: Don't divide by 0 when content processes report 0 USS. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D14476
2018-12-13 10:01:13 -08:00
Kris Maglione 39dd351df7 Bug 1505522: Follow-up: Resolve gatherMemory() promise in release builds. r=me 2018-12-12 11:35:13 -08:00
Kris Maglione 509e210f19 Bug 1505522: Part 2 - Migrate MemoryTelemetry.jsm to C++. r=erahm,chutten
This has benefits both in terms of performance and memory usage. Aside from
the obvious savings of not loading additional JS scripts in every process,
this also allows us to move more of our expensive data collection work to a
background thread, where it doesn't risk janking both parent and content
processes.

MozReview-Commit-ID: 2A593R7bIKB

Differential Revision: https://phabricator.services.mozilla.com/D13872
2018-12-05 15:44:53 -05:00