Commit Graph

55 Commits

Author SHA1 Message Date
Nicholas Nethercote
c0681f567c Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Ginn Chen
5f2af3d919 Bug 702529 Add GetVsize and GetResident methods on Solaris r=khuey 2011-11-21 11:09:52 +08:00
Hugh Nougher
2a70b73e0c Bug 702483 - Rename heap-committed-unallocated-fraction to heap-committed-fragmentation 2011-11-14 21:17:00 -05:00
Justin Lebar
997935e6da Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey 2011-10-24 13:24:02 -04:00
Justin Lebar
1ca7acee4d Back out bug 693404 (2f7668cd67bc, 3db099ca452a) due to red. 2011-10-24 14:02:16 -04:00
Justin Lebar
b45596d11b Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey 2011-10-24 13:24:02 -04:00
Justin Lebar
2b5e386149 Bug 695691 - Fix fscanf warning about %lu attached to size_t in nsMemoryReporterManager.cpp. r=njn 2011-10-20 11:57:54 -04:00
Justin Lebar
840af0872a Bug 692963 - Report heap-committed-unallocated-fraction in about:memory. r=khuey 2011-10-10 13:57:05 -04:00
Justin Lebar
91b30e42da Bug 681183 - Make jemalloc_stats.committed meaningful on *nix. r=khuey 2011-10-10 13:54:42 -04:00
Justin Lebar
c7841247e4 Bug 692923 - Update heap-unallocated description to reflect the fact that heap-dirty doesn't have anything to do with fragmentation. r=khuey 2011-10-10 08:47:48 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Justin Lebar
6c8004d5e4 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00
Matt Brubeck
ed909deeb9 Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Justin Lebar
fb560a6014 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00
Justin Lebar
e70c090dd3 Bug 684592 - In about:memory, update descriptions of heap-dirty and heap-committed, and only report heap-committed on Windows. rs=njn 2011-09-06 11:57:58 -04:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Justin Lebar
cc55ec270c Bug 675216 - Update about:memory's description of heap-committed. rs=njn 2011-08-06 11:01:36 -04:00
Dão Gottwald
789e13f413 Backed out changeset 5561bb7124db 2011-08-06 17:16:59 +02:00
Justin Lebar
1d043dda1b Bug 675216 - Update about:memory's description of heap-committed. rs=njn 2011-08-06 11:01:36 -04:00
Justin Lebar
30fdde6b8f Bug 672731 - Add UNITS_COUNT_CUMULATIVE to nsIMemoryReporter. r=njn 2011-07-24 23:56:50 -04:00
Justin Lebar
9e034e8e62 Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn 2011-07-19 10:33:49 -04:00
Justin Lebar
a72637f27e Bug 667085 - Modify descriptions in nsMemoryReporterManager.cpp. r=njn 2011-07-07 09:14:53 -04:00
Marco Bonardo
fee7dbcb32 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote
bd10602bef Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Nicholas Nethercote
39815576d6 Bug 668893 - Sort about:memory items of type COUNT alphabetically. r=jlebar. 2011-07-07 16:37:26 +10:00
Nicholas Nethercote
6d66a62c31 Bug 660731 - Add GetExplicit and GetResident methods to NSIMemoryReporterManager, attempt 3. r=khuey, sr=bz. 2011-07-07 15:54:34 +10:00
Justin Lebar
682d3016d5 Bug 668137 - Followup. Actually display vsize on Windows. r=khuey 2011-07-05 09:38:45 -04:00
Justin Lebar
a7362878a9 Bug 668524 - Fix warning in nsMemoryReporterManager.cpp due to wrong order of initialization list. r=njn 2011-06-30 19:54:42 -04:00
Justin Lebar
792f34c7de Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 10:46:30 -04:00
Phil Ringnalda
2f3a827149 Back out da1b9a3c0a98 (bug 668137) for failing to build on OS X 2011-06-29 21:48:57 -07:00
Justin Lebar
a9615c0685 Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 00:10:50 -04:00
Paul Biggar
d8519ed4e6 Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov)
Overwrite the OSX default zone allocator, taking into account the malloc_zone_t
version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and
Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions,
for OSX 10.8 and beyond.

The changeset does not enable jemalloc, to allow for easy disabling if there's
a problem. It will be enabled in the next changeset.

This should be a 15-20% improvement in memory usage.
2011-05-21 20:27:00 -07:00
Nicholas Nethercote
8a7ab656e3 Bug 666075 - Add memory multi-reporters. r=khuey, sr=bz. 2011-06-30 09:39:32 +10:00
Justin Lebar
6ce00dcd08 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz 2011-06-16 14:34:09 -04:00
Nicholas Nethercote
d09797bd19 Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Nicholas Nethercote
14286d8c7e Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Nicholas Nethercote
1d59c20cb0 Bug 653630 - Allow non-leaf reporters in about:memory. r=sdwilsh. 2011-05-11 16:09:50 -07:00
Nicholas Nethercote
bf606504a3 Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Ed Morley
49398a0b56 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Doug Turner
fd15686c30 Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec 2011-02-16 10:43:23 -08:00
Doug Turner
4fc2f297de backout of 74a64df4f758 a=build-bustage 2011-02-24 11:21:17 -08:00
Doug Turner
54b27cd18d Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec 2011-02-16 10:43:23 -08:00
Doug Turner
b2800960b9 Bug 619096 - nsMemoryReporterManager should be threadsafe. r=vlad a=mfinkle 2010-12-15 09:47:16 -08:00
Mike Hommey
55e6ae0869 Bug 611405 part 2 - Avoid crash in nsMemoryReporterManager when jemalloc_stats is not available at runtime. r=bsmedberg,a=clegnitto 2010-11-17 09:56:19 +01:00
Chris Jones
ab3b4c6ef8 Bug 601599: Link directly to jemalloc_stats on android. r=blassey a=blocking-fennec 2010-10-15 16:12:54 -05:00
Chris Jones
b2a803a171 Bug 557935: Show jemalloc stats in about:memory on linux. r=vlad 2010-05-26 14:40:52 -05:00
Vladimir Vukicevic
4516b704ce b=566467; add win32 core memory reporters; r=jmathies 2010-05-20 22:58:53 -07:00
Ginn Chen
56cd517961 Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek 2010-05-06 13:49:27 +08:00
Ginn Chen
0b12e13411 Bug 534848 enable about:memory for Solaris r=vlad 2009-12-16 19:23:17 +08:00
Reed Loden
1ef918137e s/commited/committed/ 2009-10-07 09:54:08 -05:00