Commit Graph

245 Commits

Author SHA1 Message Date
Eric Rahm
0cf06f25b5 Bug 1022004 - Support loading memory reports that already have heap-unclassified defined. r=njn 2014-06-07 18:35:18 -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
1897c16447 Bug 1014249 - Beef up the "is DMD enabled?" and "is DMD running?" checks. r=mccr8. 2014-05-22 19:45:14 -07:00
Nicholas Nethercote
751d8ce2c9 Bug 1013652 - Add a "DMD" button to about:memory when DMD is enabled. r=mccr8. 2014-05-20 19:29:37 -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
Wes Johnston
498e767862 Bug 961369 - Fallback when no file picker available in about:memory. r=njn,mfinkle 2014-02-05 10:04:32 -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
Gregory Szorc
6e1333520a Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.
2013-12-10 16:18:11 +09: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
a90995034a Bug 945973 (part 3) - Fix some trivial reporter/report confusions in aboutMemory.js. r=mccr8. 2013-12-03 20:20:15 -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
9302f165f7 Bug 945973 (part 1) - Remove about:memory's is-a-sentence description check. r=mccr8. 2013-12-03 20:10:59 -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
2c68a35af2 Bug 927740 (part 2) - Make about:memory's "Minimize Memory Usage" button affect child processes, like the "GC" and "CC" buttons. r=khuey. 2013-12-02 20:07:02 -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
9d48f3644e Bug 930851 (part 4) - Prepare aboutMemory.js for asynchronous memory report processing. r=khuey. 2013-10-15 18:08:35 -07:00
Nicholas Nethercote
4a9336d865 Bug 930851 (part 2) - Inline some functions in aboutMemory.js that have a single call site. r=johns. 2013-10-15 17:16:13 -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
Nathan Froyd
9dfe111e94 Bug 924638 - use Services.jsm more in about:memory; r=njn 2013-10-08 16:28:21 -04:00
Gregory Szorc
a126585769 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ed Morley
7bd637970d Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
365ec41916 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Nicholas Nethercote
ab290a0d9f Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
CLOSED TREE
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
a0d4ec6468 Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8. 2013-09-19 15:52:28 -07:00
Phil Ringnalda
365b4e8b19 Backed out 3 changesets (bug 913260)
CLOSED TREE

Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Nicholas Nethercote
772ad0dd26 Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8. 2013-09-19 15:52:30 -07:00
Nicholas Nethercote
21f43ce7dd Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8. 2013-09-19 15:52:28 -07:00
Nicholas Nethercote
33b387460f Bug 917646 - Unbreak reading of old memory report files. r=khuey. 2013-09-17 21:55:12 -07:00
Nicholas Nethercote
e601f5f43a Bug 904321 - Add a test for memory reporters in remote processes. r=billm. 2013-09-17 13:13:38 -07:00
Nicholas Nethercote
6ab6420cb9 Bug 917489 - Fix an observer leak in about:memory. r=mccr8. 2013-09-17 13:13:25 -07:00
Nicholas Nethercote
1d074eb6ec Bug 912165 - Remove the Linux-only smaps memory reporters. r=mccr8. 2013-09-03 21:09:15 -07:00
Nicholas Nethercote
8663982263 Bug 911641 (part 2) - Prefix some reporters with "redundant/", and make about:memory ignore them. r=johns. 2013-09-03 20:06:36 -07:00
Nicholas Nethercote
e4526879f6 Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns. 2013-09-03 20:05:17 -07:00