Commit Graph

147 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
c2aeeff612 Backed out changeset 027fced104dc (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE 2013-11-19 11:47:30 +01:00
Nicholas Nethercote
f6d384fd81 Bug 939385 (part 4) - Rename some distinguished amount functions. r=froydnj.
--HG--
extra : rebase_source : 7aa40beaaf9f025f361d0a570a2f35d582a151c5
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
3172e67ca2 Bug 939385 (part 3) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
--HG--
extra : rebase_source : 77331283b56ddf28a137a0165ef9926d6e0f0f42
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
69cab6b84b Bug 939385 (part 1) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
--HG--
extra : rebase_source : 3c364af0442eeabd5951370792f1a467eaa86994
2013-11-18 22:24:12 -08:00
Nathan Froyd
293931c0cd Bug 939137 - part 1 - add largestContiguousVMBlock attribute to nsIMemoryReporterManager; r=bsmedberg 2013-11-15 13:04:43 -05:00
Markus Stange
f4088ca44b Bug 936074 - Fix nsIHandleReportCallback typo. r=njn.
Affects DMD-only builds so DONTBUILD.

--HG--
extra : rebase_source : 3fa91414cd99bca0490682c2619e84cc62e4b1e2
2013-11-08 14:48:31 +11:00
Nicholas Nethercote
b9e0d05f7e Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
a277702631 Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Nicholas Nethercote
218c25cdbc Bug 930851 (part 3) - Use |data| instead of |closure| for some callback environment arguments. r=mccr8.
--HG--
extra : rebase_source : a96709da6d9a880a03e2e79149ba0e3558b4a355
2013-10-24 21:39:16 -07:00
Nicholas Nethercote
d58b8ff6f4 Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Birunthan Mohanathas
c09e07a17c Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
Nicholas Nethercote
9c1dfff707 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
e670fcccd8 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
f2d9988dbb 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
6a709f70b8 Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
8bd7f32128 Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
--HG--
extra : rebase_source : cc6f50d85f384ed665d44b2e8850618fd8a56fa5
2013-09-19 15:52:28 -07:00
Daniel Holbert
425a2d23d1 Bug 918882: Remove no-longer-used 'rv' variable. r=njn 2013-09-20 14:20:27 -07:00
Ehsan Akhgari
a2c0c65e43 Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
Ehsan Akhgari
9b717619cf Backed out changeset a8d6973e5743 (bug 917885) because I pushed the wrong patch 2013-09-19 14:27:35 -04:00
Ehsan Akhgari
dc575f6de1 Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:12:56 -04:00
Nicholas Nethercote
3f0ae06e5a Bug 912165 - Remove the Linux-only smaps memory reporters. r=mccr8.
--HG--
extra : rebase_source : 4847c299f87a1a85944b169a808ee2c573ebf8b5
2013-09-03 21:09:15 -07:00
Nicholas Nethercote
4ca0a834dd Bug 911641 (part 2) - Prefix some reporters with "redundant/", and make about:memory ignore them. r=johns.
--HG--
extra : rebase_source : 9ed48217ecb8af66256ddbdb70ad9f6b5d049582
2013-09-03 20:06:36 -07:00
Nicholas Nethercote
fd238cabbe Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
1a1328929c Bug 831193 (part 17) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in xpcom/. r=jlebar.
--HG--
extra : rebase_source : 7e2984a99fb7e00aa0ea6bebc23e23e4c99e0b1e
2013-01-17 21:43:21 -08:00
Nicholas Nethercote
22ee38819a Bug 905465 - Minor memory reporter manager code style clean-ups. r=jlebar.
--HG--
extra : rebase_source : ff7e494a8a999ccc134460f096f4b5ff08faa282
2013-08-14 18:19:24 -07:00
Justin Lebar
89e6da4064 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.

--HG--
extra : rebase_source : 8d2ca75904dfb3c0dfd1ba9a132f828436b734c6
2013-07-29 09:10:53 -07:00
Joshua Cranmer
0a16998703 Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Nicholas Nethercote
75b04b996d 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
500e72cfdf Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Nicholas Nethercote
4dc48236ed Bug 848560 (part 2) - Prevent memory reporters from being registered while about:memory's tests are running. r=jlebar.
--HG--
extra : rebase_source : 3187fef1c6910b637788499de47bef6718018c0a
2013-04-01 21:39:44 -07:00
Daniel Holbert
67a1014925 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
0a835fcbe3 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
1a81511158 Bug 831193 (part 1) - Remove uses of NS_MEMORY_REPORTER_IMPLEMENT from nsMemoryReporterManager.cpp. r=jlebar.
--HG--
extra : rebase_source : bb51ea8dcd4600a675a0ce1ddb45d7ced4f8c359
2013-01-15 23:02:45 -08:00
Justin Lebar
be02bb7b57 Bug 789975 - Follow-up: Fix memory reporter descriptions. r=me 2013-01-16 09:34:25 -05:00
Justin Lebar
6d3f94ce8d 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
96b0e17533 Backed out changeset 622427e981a8 (bug 789975) for build bustage.
CLOSED TREE
2013-01-14 22:13:24 -05:00
Justin Lebar
fbf3699557 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
19600b0dee Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar.
--HG--
extra : rebase_source : 31ef4aaa1dde5299125ed67d297d70ee5fe5c876
2013-01-14 16:28:36 -08:00
Nicholas Nethercote
cfabe434d4 Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Nicholas Nethercote
f0a2edb191 Bug 826553 - Add a memory reporter for the event listener manager's hash table. r=bz.
--HG--
extra : rebase_source : 72584fbf0b80c1e8d5451486ca2c46efebc93b44
2013-01-03 21:26:56 -08:00
Nicholas Nethercote
b6939f2c42 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Nicholas Nethercote
0a2709a9bb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Justin Lebar
4667550ede Bug 824395 - Report used stacks separately from unused stacks. r=njn 2012-12-23 21:48:03 -05:00
Nicholas Nethercote
37005fd521 Bug 822148 (part 3) - DMD: Rename |LiveBlock| as |Block|. r=jlebar.
--HG--
extra : rebase_source : 65ccba830ca872fd28a410122ebf65c12cbf6377
2012-12-17 19:56:51 -08:00
Nicholas Nethercote
d1985a03e0 Bug 822148 (part 2) - DMD: Treat twice-reported blocks more like other blocks. r=jlebar.
--HG--
extra : rebase_source : 345123de945a3c26ec6ca88a599b45efddc4209e
2012-12-17 19:40:07 -08:00
Gabriele Svelto
b9602a0925 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
036385fed8 Bug 819772 - Add a memory reporter for DMD's data. r=jlebar.
--HG--
extra : rebase_source : d85f4f08b3c0ec5e81bde9caa63699e60a303b33
2012-12-11 13:54:11 -08:00