Commit Graph
281 Commits
Author SHA1 Message Date
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
Nicholas Nethercote ebb18d00e7 Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey. 2012-10-08 15:31:17 -07:00
Kartikaya Gupta 62c4d9fb5e Bug 799686 - Make about:memory dump file readable on Android. r=njn 2012-10-13 08:54:49 -04:00
Landry Breuil ae236e04e8 Bug 788021 followup: cast PR_NOW() to int64_t to fix a build failure on OpenBSD. r=jlebar 2012-10-06 11:03:52 +02:00
Justin Lebar 1aef7b8e25 Bug 797904 - Include app name in about:memory dump. r=njn,cjones 2012-10-05 17:54:54 -04:00
Justin Lebar 8dbb80f34c Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 21:19:11 -04:00
Phil Ringnalda 40e96c2222 Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes 2012-10-01 23:00:51 -07:00
Justin Lebar 531f4a1177 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 00:11:42 -04:00
David Zbarsky 1e60aad3d9 Fix virtual dtor warning, no bug, blanket r=bz 2012-09-26 14:30:34 -04:00