Commit Graph
289 Commits
Author SHA1 Message Date
Nicholas Nethercote 09ae277947 Bug 930851 (part 3) - Use |data| instead of |closure| for some callback environment arguments. r=mccr8. 2013-10-24 21:39:16 -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
Birunthan Mohanathas 52e24d677b Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04: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
Daniel Holbert a11c57038d Bug 918882: Remove no-longer-used 'rv' variable. r=njn 2013-09-20 14:20:27 -07:00
Ehsan Akhgari 35f4093831 Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
Ehsan Akhgari fe85b6b42b Backed out changeset a8d6973e5743 (bug 917885) because I pushed the wrong patch 2013-09-19 14:27:35 -04:00
Ehsan Akhgari 4bbb07e34d Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:12:56 -04: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 c7fbf6a742 Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8. 2013-08-27 16:24:51 -07:00
Robert O'Callahan 51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Phil Ringnalda 6e1be50ee9 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition 2013-09-04 22:42:06 -07:00
Nicholas Nethercote d7fc3db766 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8. 2013-08-27 16:24:51 -07:00
Nicholas Nethercote c9960e2249 Bug 831193 (part 17) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in xpcom/. r=jlebar. 2013-01-17 21:43:21 -08:00
Nicholas Nethercote bb0d7052b5 Bug 905465 - Minor memory reporter manager code style clean-ups. r=jlebar. 2013-08-14 18:19:24 -07:00
Justin Lebar 0410d83a7d Bug 898558 - Rework the jemalloc heap memory reporters. r=njn
Now we have the following hierarchy

  explicit/
    heap-overhead/
      bookkeeping
      waste
      page-cache (previosuly known as dirty)

In addition, heap-committed-unused-ratio is now known as heap-overhead-ratio.
2013-07-29 09:10:53 -07:00
Joshua Cranmer 1c073a2540 Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg 2013-07-18 21:31:26 -05:00
Nicholas Nethercote 9a8d22b74c Bug 859657 (follow-up) - Bustage fix for opt builds on a CLOSED TREE. r=me. 2013-04-15 20:45:48 -07:00
Nicholas Nethercote 2748d6af62 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar. 2013-04-11 20:52:32 -07:00
Nicholas Nethercote 08d060bca2 Bug 848560 (part 2) - Prevent memory reporters from being registered while about:memory's tests are running. r=jlebar. 2013-04-01 21:39:44 -07:00
Daniel Holbert 35686c6387 Bug 845527: Use nsCOMArray::Length() instead of Count() for comparison vs. unsigned index in nsMemoryReporterManager. r=jlebar 2013-02-26 14:25:38 -08:00
Justin Lebar 2342218924 Bug 833913 - Part 3: Switch nsMemoryReporterManager to using nsTHashtable. r=khuey,njn
This makes NS_RegisterMemoryReporter() and NS_UnregisterMemoryReporter()
O(1).  Previously, they took time linear to the number of registered
reporters.
2013-02-01 10:12:52 -05:00
Nicholas Nethercote 5acb9ff2d0 Bug 831193 (part 1) - Remove uses of NS_MEMORY_REPORTER_IMPLEMENT from nsMemoryReporterManager.cpp. r=jlebar. 2013-01-15 23:02:45 -08:00
Justin Lebar 71febd9c69 Bug 789975 - Follow-up: Fix memory reporter descriptions. r=me 2013-01-16 09:34:25 -05:00
Justin Lebar d2e1721312 Bug 789975 - Disable purging of MADV_FREE'd pages on MacOS when collecting RSS from Telemetry. r=njn 2013-01-15 09:14:36 -05:00
Ryan VanderMeulen 5b6dc2ed49 Backed out changeset 622427e981a8 (bug 789975) for build bustage.
CLOSED TREE
2013-01-14 22:13:24 -05:00
Justin Lebar a750b68aca Bug 789975 - Disable purging of MADV_FREE'd pages on MacOS when collecting RSS from Telemetry. r=njn 2013-01-14 21:49:25 -05:00
Nicholas Nethercote 706be71687 Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar. 2013-01-14 16:28:36 -08:00
Nicholas Nethercote 57ff986dd8 Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar. 2013-01-14 16:26:47 -08:00
Nicholas Nethercote 4f9346f54d Bug 826553 - Add a memory reporter for the event listener manager's hash table. r=bz. 2013-01-03 21:26:56 -08:00
Nicholas Nethercote 8a28a2740d Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar. 2012-12-23 16:59:51 -08:00
Nicholas Nethercote 6d06e3f447 Bug 819819 (part 1) - Remove DMDV. r=khuey. 2012-12-20 23:03:50 -08:00
Justin Lebar b90c270919 Bug 824395 - Report used stacks separately from unused stacks. r=njn 2012-12-23 21:48:03 -05:00
Nicholas Nethercote f24a89ffa6 Bug 822148 (part 3) - DMD: Rename |LiveBlock| as |Block|. r=jlebar. 2012-12-17 19:56:51 -08:00
Nicholas Nethercote ad42918a65 Bug 822148 (part 2) - DMD: Treat twice-reported blocks more like other blocks. r=jlebar. 2012-12-17 19:40:07 -08:00
Gabriele Svelto 7c53cacec2 Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar 2012-12-11 19:13:29 +01:00
Nicholas Nethercote a2a706b416 Bug 819772 - Add a memory reporter for DMD's data. r=jlebar. 2012-12-11 13:54:11 -08:00
Nicholas Nethercote 06fab13a4c Bug 717853 - Add a native version of DMD. r=jlebar,glandium. 2012-12-10 16:05:07 -08:00
Mike Hommey 2b38a675fe Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey 2012-12-07 09:32:24 +01:00
Nicholas Nethercote 7b181f8053 Bug 811018 - Avoid image double-counting false positive from DMD. r=jlebar. 2012-11-15 14:06:34 -08:00
Kartikaya Gupta f5f1404180 Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar 2012-10-29 20:41:14 -04:00
Nicholas Nethercote 38acb2cb83 Bug 802007 - Remove unneeded Mac-only memory reporters. r=jlebar. 2012-10-15 21:45:54 -07:00
Justin Lebar e8d0978726 Bug 800486 - Part 3: Minor fixups to MemoryInfoDumper.cpp. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar ad89324f51 Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar 68f5caa45b Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones 2012-10-15 22:12:14 -04:00