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
Jan Beich
473f527234
Bug 791366 - Implement Vsize and Resident memory reports on BSDs. r=njn
2012-09-17 18:42:36 -04:00
Jan Beich
96f47274f2
Bug 791366 - Define HAVE_PAGE_FAULT_REPORTERS on every Unix. r=njn
2012-09-17 18:42:36 -04:00
Florian Quèze
4a97ef1b2b
Bug 790947 - Show in the error console the path to the dumped memory reports, r=njn,smaug.
2012-09-14 15:47:12 +02:00
Nicholas Nethercote
ab50a1479d
Bug 768470 - Add ability to import/export memory reports as JSON. r=jlebar.
2012-08-27 18:14:14 -07:00
Ehsan Akhgari
243c878d26
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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Nathan Froyd
5bfb1e0bd8
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Ehsan Akhgari
6c1914b71f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Justin Lebar
0d74aaa65a
Bug 757924 - Register the heap-committed-unused memory reporter. r=khuey
2012-05-24 11:10:58 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Justin Lebar
7a63940fb8
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
2012-04-30 14:27:15 -04:00
Nicholas Nethercote
20a8dee702
Bug 744311 (part 2) - Don't use -1 to represent "unknown" in memory reporters. r=jlebar.
2012-04-11 19:38:31 -07:00
Nicholas Nethercote
53ffe0d1c1
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
2012-04-09 22:52:33 -07:00
Mike Hommey
f9e07dcd00
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