Commit Graph

73 Commits

Author SHA1 Message Date
Justin Lebar
0fa3af9dae Bug 757924 - Register the heap-committed-unused memory reporter. r=khuey
--HG--
extra : rebase_source : dc4eddd09b2d074e830ec153af4a5ff4bb8b7a3a
2012-05-24 11:10:58 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Justin Lebar
e7e161cf7f Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Nicholas Nethercote
3a4aa126ba Bug 744311 (part 2) - Don't use -1 to represent "unknown" in memory reporters. r=jlebar.
--HG--
extra : rebase_source : 8f726aef17e5b814f5b740b453c9a67a1ef7646d
2012-04-11 19:38:31 -07:00
Nicholas Nethercote
08dc2dae6b Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Mike Hommey
46646a522a Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Nicholas Nethercote
a60da3f47e Bug 728990 - Change "The two measurements of 'explicit' memory usage don't match" assertion to a warning, because it fails occasionally due to races. r=jruderman.
--HG--
extra : rebase_source : 3b2a8c8f14690bea041366dd35ff5147895abd56
2012-02-26 20:17:46 -08:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Ginn Chen
6278f45019 Bug 717861 GetVsize and GetResident underestimate memory size on Solaris r=justin.lebar 2012-01-31 14:32:10 +08:00
Nicholas Nethercote
9a3eb9e60c Bug 715453 (part 2) - Ignore computedSize in nsMallocSizeOfFun. r=jlebar. 2012-01-17 20:23:55 -08:00
Nicholas Nethercote
d58223eec9 Bug 700508 - Disallow non-leaf memory reporters (attempt 3). r=jlebar. 2012-01-07 21:45:35 +11:00
Ed Morley
046f6decd4 Backout 4779d8df054b (bug 700508) for linux64 Moth orange 2012-01-06 16:23:05 +00:00
Nicholas Nethercote
c7f2d41685 Bug 700508 - Disallow non-leaf memory reporters (attempt 2). r=jlebar.
--HG--
extra : rebase_source : 040e3e7093f019caf7157a316e5fc75654eb5d65
2012-01-05 19:41:31 -08:00
Nicholas Nethercote
13e0ce90ef Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Nicholas Nethercote
f6824360d3 Bug 712835 (part 2 of 3) - Add a memory reporter for the nsAtomTable. r=khuey.
--HG--
extra : rebase_source : 3c934649d072e0d519c905cb8baf49b12bce0312
2011-12-22 17:24:43 -08:00
Nicholas Nethercote
688c469bc9 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Nicholas Nethercote
dfd419a275 Bug 703143 - backout 61d41436beb3 so that bug 700508 can be backed out. r=crashes. 2011-12-08 11:34:18 -08:00
Nicholas Nethercote
75ed0e4814 Bug 700508 - Disallow non-leaf memory reporters. r=jlebar. 2011-12-06 16:20:17 -08:00
Nicholas Nethercote
f102556f32 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
375a95126e Bug 702529 Add GetVsize and GetResident methods on Solaris r=khuey 2011-11-21 11:09:52 +08:00
Hugh Nougher
b76df8b343 Bug 702483 - Rename heap-committed-unallocated-fraction to heap-committed-fragmentation 2011-11-14 21:17:00 -05:00
Justin Lebar
0b13a5f417 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
500d48e1f3 Back out bug 693404 (2f7668cd67bc, 3db099ca452a) due to red. 2011-10-24 14:02:16 -04:00
Justin Lebar
ac6aa8951b Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey
--HG--
extra : rebase_source : c0f1f82aba30d32166e17d7d4216017475c9c09a
2011-10-24 13:24:02 -04:00
Justin Lebar
f0603174db 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
3637670041 Bug 692963 - Report heap-committed-unallocated-fraction in about:memory. r=khuey 2011-10-10 13:57:05 -04:00
Justin Lebar
254211dda2 Bug 681183 - Make jemalloc_stats.committed meaningful on *nix. r=khuey 2011-10-10 13:54:42 -04:00
Justin Lebar
0d10563c8a Bug 692923 - Update heap-unallocated description to reflect the fact that heap-dirty doesn't have anything to do with fragmentation. r=khuey
--HG--
extra : rebase_source : d09f4bd41f694375f8d42a10cf278e3c5ac2b92f
2011-10-10 08:47:48 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Justin Lebar
702c021819 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn
--HG--
extra : rebase_source : 3bbe2f926ba3b0c46a122d51b027a5a6283ae2b0
2011-08-05 18:22:11 -04:00
Matt Brubeck
ef44922f52 Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Justin Lebar
5315b70bee 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
d2b57dbde1 Bug 684592 - In about:memory, update descriptions of heap-dirty and heap-committed, and only report heap-committed on Windows. rs=njn
--HG--
extra : rebase_source : 66b94efceb15920edcb6a27380450e52b25c5847
2011-09-06 11:57:58 -04:00
Matheus Kerschbaum
887ff1b97a Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Justin Lebar
310504b74a Bug 675216 - Update about:memory's description of heap-committed. rs=njn 2011-08-06 11:01:36 -04:00
Dão Gottwald
41e1dbde77 Backed out changeset 5561bb7124db 2011-08-06 17:16:59 +02:00
Justin Lebar
6f6c68efa7 Bug 675216 - Update about:memory's description of heap-committed. rs=njn
--HG--
extra : rebase_source : 0193aec86119abd400ac6e9ef58bf6ba2a218a6b
2011-08-06 11:01:36 -04:00
Justin Lebar
3e07692ce3 Bug 672731 - Add UNITS_COUNT_CUMULATIVE to nsIMemoryReporter. r=njn 2011-07-24 23:56:50 -04:00
Justin Lebar
470956d8ab Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn 2011-07-19 10:33:49 -04:00
Justin Lebar
4c7c7773bc Bug 667085 - Modify descriptions in nsMemoryReporterManager.cpp. r=njn 2011-07-07 09:14:53 -04:00
Marco Bonardo
94da8809f7 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Nicholas Nethercote
d263e03bd2 Bug 668893 - Sort about:memory items of type COUNT alphabetically. r=jlebar. 2011-07-07 16:37:26 +10:00
Nicholas Nethercote
a74f9b9ef6 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
d118338822 Bug 668137 - Followup. Actually display vsize on Windows. r=khuey 2011-07-05 09:38:45 -04:00
Justin Lebar
cdf63080c2 Bug 668524 - Fix warning in nsMemoryReporterManager.cpp due to wrong order of initialization list. r=njn
--HG--
extra : rebase_source : c6609fbf0b470d1aa23937eea168f3780a2bc575
2011-06-30 19:54:42 -04:00
Justin Lebar
1b45b8710f Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 10:46:30 -04:00
Phil Ringnalda
eff8910ff9 Back out da1b9a3c0a98 (bug 668137) for failing to build on OS X 2011-06-29 21:48:57 -07:00
Justin Lebar
29c3d90d47 Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 00:10:50 -04:00
Paul Biggar ext:(%2C%20Jason%20Evans%20%3Cjasone%40canonware.com%3E%20and%20Dale%20Kim%20%3Cdalekim1%40illinois.edu%3E)
c0072a7363 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