Граф коммитов

89 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote f97143587d 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 dac7e13e71 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
Nicholas Nethercote dc5c29f71c 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 952691a40d 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 12216d4f00 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 a51a1d18a4 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 426445c26e 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
Nicholas Nethercote 2900cc6657 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 53f2057a6b 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 fbf85946b7 Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns.
--HG--
extra : rebase_source : c1ef005e272048e2eb84b20bafff15bcb5aae511
2013-09-03 20:05:17 -07:00
Nicholas Nethercote 7983bb2a7f 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
Nicholas Nethercote c16268054c Bug 831193 (part 19) - Remove NS_MEMORY_REPORTER_IMPLEMENT. r=jlebar.
--HG--
extra : rebase_source : d51e38b3d701becff8a7dbad22ac3cd94acbc9aa
2013-01-17 21:43:21 -08:00
Nicholas Nethercote 28f7298c15 Bug 831193 (part 11) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxAndroidPlatform.cpp. r=jlebar.
--HG--
extra : rebase_source : b683f7c4f991deefa99f460de89d37dbee56c1e4
2013-01-17 16:45:11 -08:00
Nicholas Nethercote c67a4683bf 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
Joshua Cranmer 1a6dffc73f 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
Justin Lebar 629e024939 No bug - Fix a comment from the Department of Redundancy Department. r=me DONTBUILD 2013-07-01 13:35:17 -07:00
Nicholas Nethercote 1c97315e22 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 9f600a37f0 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
Neil Rashbrook a596a35795 Bug 858929 Allow external components to register memory reporters r=njn 2013-04-07 00:05:47 +01:00
Nicholas Nethercote e8a94a9944 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
Nicholas Nethercote e7d64e972a 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 b7723e3c58 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 efaf0192cb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Nicholas Nethercote 7f23ff5546 Bug 822148 (part 1) - DMD: remove reporter names from output because they're redundant. r=jlebar.
--HG--
extra : rebase_source : c9bf57dbd3612719ba60951cb14988ec38b392f0
2012-12-16 16:56:04 -08:00
Gabriele Svelto ba62bce29e 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 7d32dc00e9 Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Justin Lebar 46036e9207 Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent 2012-10-22 15:40:19 -04:00
Justin Lebar 4a590b2df4 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 70048a2062 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 e844eb7d01 Bug 800187 (part 2) - Add a clarifying comment about memory reporter registration. r=bz.
--HG--
extra : rebase_source : 950d0a0bb9a6ffdea94b41ae16f62a407acff6d8
2012-10-11 21:05:42 -07:00
Nicholas Nethercote 3ee916ea11 Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Justin Lebar b252cbe108 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 21:19:11 -04:00
Phil Ringnalda 9823cbba0f Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes 2012-10-01 23:00:51 -07:00
Justin Lebar 0de944c855 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 00:11:42 -04:00
Nicholas Nethercote d72524cd51 Bug 768470 - Add ability to import/export memory reports as JSON. r=jlebar.
--HG--
extra : rebase_source : 8e03a7e8c82204ea8e353a9ba583c4d53917a267
2012-08-27 18:14:14 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Nicholas Nethercote e23d7588a7 Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Nathan Froyd 70bf86d653 Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn 2012-06-14 16:29:00 -04:00
Nicholas Nethercote a9106b5cbe Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Justin Lebar 1dff62b86c 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 b954a09a35 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
Justin Lebar 31cebc2b87 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Matt Brubeck 6113f7efa8 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Justin Lebar 39bee4009c Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Ed Morley 3de190bb3e Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar 285de39efb Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : 37480ae937cbe2a09ae0ce7c187dafef94db5e16
2012-03-31 15:39:31 -07:00
Nicholas Nethercote 4583ceebea Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Nicholas Nethercote a14057dd8c Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Nicholas Nethercote 5a1cbe043f Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00