Commit Graph

169 Commits

Author SHA1 Message Date
Geoff Brown
e7ae18404c Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Jed Davis
92f69b3201 Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.

Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Phil Ringnalda
0f32185be8 Back out e05936099653 (bug 1154053) on suspicion of causing the hellish frequency of Android 2.3 robocop-2 crashes that resulted in this CLOSED TREE, a=bustage 2015-05-07 22:41:26 -07:00
Jed Davis
5b7451a823 Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.

Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Eric Rahm
4b7881d56d Bug 1142174 - Normalize omni.ja! paths when diffing about:memory reports. r=njn
Paths of the form:
  'jar:file:///tmp/tmp2DqEYgBuildGetter_firefox/firefox/omni.ja!/components/Webapps.js'
are now normalized to:
   'jar:file:///.../omni.ja!/components/Webapps.js'
when diffing about:memory reports. This is particularly useful when checking
for regressions across builds which will often have different install paths.
2015-04-30 18:24:17 -07:00
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Nicholas Nethercote
e6e3bebf47 Bug 1145007 (part 2) - Add a "resident-peak" distinguished amount and memory reporter on Unix. r=erahm. 2015-03-19 15:16:37 -07:00
Nicholas Nethercote
e38cae6250 Bug 1145007 (part 1) - Test |residentUnique| in test_memoryReporters.xul. r=erahm.
It is the only distinguished amount in nsIMemoryReporterManager that isn't
being tested.
2015-03-18 20:45:56 -07:00
Jonathan Griffin
c4f9588ed3 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Jon Coppeard
dae47c397d Bug 1134255 - Add breakdown of allocated and unused GC things by kind in memory reports r=njn 2015-02-19 11:56:00 +00:00
Joel Maher
1cc3287861 Bug 1110982 - Disabled tests for oth chunk and leaks (run-by-dir). r=RyanVM 2014-12-27 00:44:52 +05:30
Ehsan Akhgari
68ba61db78 Bug 1119503 - Part 3: Change test_aboutmemory*.xul in order to not expect a newline at the very end of the copied text; r=njn
After the patches in this bug, we only inject a newline at block element
boundaries.  In order to get these tests to pass, we just compare the
trimmed version of the actual and expected tests.
2015-01-28 10:01:23 -05:00
Wes Kocher
02baeee702 Backed out 5 changesets (bug 1119503) for PGO m-oth failures so I can a=merge today
Backed out changeset 05ee3ae06643 (bug 1119503)
Backed out changeset 5ccef8ecf319 (bug 1119503)
Backed out changeset 8c2129ff8897 (bug 1119503)
Backed out changeset ff9012ee428a (bug 1119503)
Backed out changeset af9f4a6a7b78 (bug 1119503)
2015-01-27 16:04:59 -08:00
Ehsan Akhgari
30237958f6 Bug 1119503 - Part 3: Change test_aboutmemory.xul in order to not expect a newline at the very end of the copied text; r=njn
After the patches in this bug, we only inject a newline at block element
boundaries.
2015-01-27 13:25:10 -05:00
Nicholas Nethercote
dceb4f2bc9 Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium. 2015-01-07 16:13:03 -08:00
Nicholas Nethercote
fbd281e6c5 Bug 1070251 - Anonymize non-chrome inProcessTabChildGlobal URLs in memory reports when necessary. r=khuey. 2014-09-24 19:08:20 -07:00
Nicholas Nethercote
6c95527a5b Bug 1059612 - Filter diff-breaking info from memory reports in a more rigorous fashion. r=erahm. 2014-09-17 21:22:57 -07:00
Nicholas Nethercote
dc97ea3835 Bug 1061960 - In about:memory, support the loading of memory reports embedded in crash dumps. r=mccr8. 2014-09-04 16:04:54 -07:00
Josh Aas
4e35cfb6da Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa 2014-08-26 12:03:09 -05:00
Eric Rahm
63c755e921 Bug 1056954 - Normalize pid values when diffing. r=njn 2014-08-22 15:45:44 -07:00
Nicholas Nethercote
b3d1c04dad Bug 1054318 - Replace multiple addresses in paths when diffing memory reports. r=erahm. 2014-08-19 18:28:42 -07:00
Nicholas Nethercote
d8d1d82534 Bug 1046477 (part 1) - Separate the reporting of the main and static atoms tables. r=froydnj. 2014-07-30 23:06:57 -07:00
Alexandre Poirot
6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Nicholas Nethercote
7b107d5931 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg. 2014-05-20 23:06:54 -07:00
Eric Rahm
f2a68b646f Bug 1022965 - Add test for loading memory reports that already have heap-unclassified defined. r=njn 2014-06-09 17:37:20 -07:00
Nicholas Nethercote
025d668339 Bug 1005489 - Implement better sub-tree sorting and significance detection in about:memory's diff mode. r=mccr8. 2014-05-28 20:37:59 -07:00
Nicholas Nethercote
9d18edd545 Bug 1005442 - Strip moz-nullprincipal UUIDs when diffing memory reports. r=mccr8. 2014-05-13 18:14:29 -07:00
Jed Davis
8080554f76 Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Nicholas Nethercote
2b18091e47 Bug 986300 - Fix a tricky corner case involving memory report diffs. r=kats. 2014-03-20 19:44:23 -07:00
Gregory Szorc
dffb8830ba Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
2014-02-06 13:00:20 -08:00
Nicholas Nethercote
2fba2310da Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8. 2014-01-31 14:43:08 -08:00
Nils Maier
b83dbe6bf0 Bug 950391 - Add nsIMemoryReporterManager.unregisterStrongReporter. r=njn
Also do not allow to register non-native components as weak reporters.
2013-12-18 13:00:03 -05:00
Nicholas Nethercote
6101f897c9 Bug 945973 (part 4) - Add SystemMemoryReporter, which presents Linux-specific, system-wide memory measurements taken from the OS. r=glandium. 2013-12-04 19:32:50 -08:00
Nicholas Nethercote
171cce93cd Bug 945973 (part 2) - Don't complain if there aren't any "explicit" reports for a process. r=mccr8. 2013-12-03 20:19:41 -08:00
Nicholas Nethercote
d59d2c5af8 Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8. 2013-12-01 16:29:37 -08:00
Nicholas Nethercote
1dfdccfa28 Bug 946484 - Ignore "redundant/"-prefixed memory reports. r=khuey. 2013-12-04 16:21:55 -08:00
Nicholas Nethercote
0d8c64efcc Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
188ae9dd5f Bug 943660 (attempt 2) - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8. 2013-11-26 18:38:50 -08:00
Ehsan Akhgari
65aaebab72 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
c363b9d028 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz. 2013-11-07 16:35:30 +11:00
Nicholas Nethercote
30104bd7d7 Bug 943660 - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8. 2013-11-26 18:38:50 -08:00
Nicholas Nethercote
2c3588a63d Bug 939385 (part 5) - Test vsizeMaxContiguous. r=froydnj. 2013-11-19 20:05:44 -08:00
Nicholas Nethercote
ee8f1d5669 Bug 939385 (part 3, attempt 2) - Expose vsizeMaxContiguous to about:memory. r=froydnj. 2013-11-18 22:37:38 -08:00
Carsten "Tomcat" Book
084f201a3f Backed out changeset 65048ac4ae6f (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE 2013-11-19 11:47:41 +01:00
Nicholas Nethercote
638cf03ec1 Bug 939385 (part 3) - Expose vsizeMaxContiguous to about:memory. r=froydnj. 2013-11-18 22:37:38 -08:00
Nicholas Nethercote
c10613ba57 Bug 929797 - Implement proper memory reporting for child processes. r=khuey. 2013-10-22 22:26:24 -07:00
Nicholas Nethercote
01f0915e8a Bug 933502 - Make memory reporter mochitests work with ASAN. r=gps,me. 2013-10-31 19:19:10 -07:00
Nicholas Nethercote
053d00aaa7 Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey. 2013-10-24 20:47:48 -07:00
Nicholas Nethercote
77c15fac5f Bug 929826 - Improve about:memory's UI for the multi-process case. r=johns. 2013-10-22 22:27:58 -07:00
Nicholas Nethercote
7d16eaa962 Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd. 2013-10-22 14:53:26 -07:00