Commit Graph

45 Commits

Author SHA1 Message Date
Nicholas Nethercote
d7fc3db766 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8. 2013-08-27 16:24:51 -07:00
Nicholas Nethercote
d3c64ed5fa Bug 831193 (part 21) - Make NumGhostsReporter a subclass of MemoryReporterBase. r=jlebar. 2013-08-22 22:26:23 -07:00
Ehsan Akhgari
6c2dd7f365 Bug 905353 - Minimize the #includes in dom/base; r=jst 2013-08-15 14:17:48 -04:00
Ehsan Akhgari
bf2159dbe4 Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley 2013-08-13 13:51:50 -04:00
Justin Lebar
1dbd4e9735 Bug 888693 - Add a null-check to nsWindowMemoryReporter.cpp so taking a memory report doesn't crash B2G. r=nmaier 2013-06-30 09:39:10 -07:00
Nils Maier
ba389d04ba Bug 846019 - Part 2: Prefix memory reports with add-on ids. r=njn 2013-06-14 22:48:28 -04:00
Aryeh Gregor
6f0fa40fb4 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
David Zbarsky
96800c4570 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04: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
David Zbarsky
1623a8ecd6 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Bill McCloskey
490af25d66 Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Nicholas Nethercote
ef63d8fa25 Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz. 2013-01-17 21:21:43 -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
546a64f11c Bug 802894 - Add a memory reporter for nsEffectiveTLDService. r=jduell. 2012-10-19 05:07:13 -07:00
Mook
3928793d2d bug 803746: dom: nsWindowMemoryReporter::Init() needs to hold a ref to the reporter it's setting up (r=njn) 2012-10-19 23:18:56 -07:00
Justin Lebar
ef2876f3f7 Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn 2012-10-17 10:44:31 -04:00
Justin Lebar
8db4421a35 Bug 630242 - Reduce occurrences of "WARNING: No outer window available!" in debug mochitests by tweaking ghost window detection code. r=smaug 2012-10-09 15:17:53 -04:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
Nicholas Nethercote
b11348dae9 Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke. 2012-07-05 21:12:37 -07:00
Nicholas Nethercote
54bbaf2638 Bug 711130 (part 1) - Fix "window-objects" measurement inconsistency. r=nfroyd. 2012-06-25 17:06:50 -07:00
Nathan Froyd
8639810ade Bug 752952 - account for nsIDocument's property tables in about:memory; r=njn,f=smaug 2012-06-15 00:10:08 -04:00
Nicholas Nethercote
d7233fe6da Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar. 2012-06-11 20:32:26 -07:00
Nicholas Nethercote
17b0d1a081 Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar. 2012-06-11 20:29:12 -07:00
Nathan Froyd
e5bbedfffe Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn 2012-06-06 13:35:40 -04:00
Nathan Froyd
56bc58bdb8 Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
Nathan Froyd
68040a6240 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
81b1c1cd8a Bug 754241 - add window-objects-layout-pres-contexts to about:memory; r=njn 2012-05-11 09:23:07 -04:00
Nathan Froyd
293a874576 Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Patrick Wong
c9bcb02a6e Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Justin Lebar
dc2f7d85f9 Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 22:28:13 -04:00
Justin Lebar
030aab0e88 Bug 738624 - Add ghost windows to about:compartments. r=njn 2012-04-02 22:28:05 -04:00
Justin Lebar
87198a806f Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8 2012-04-02 22:28:04 -04:00
Matt Brubeck
9de3488b77 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors 2012-04-02 12:44:31 -07:00
Justin Lebar
f1f8615014 Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
9190422ed9 Bug 738624 - Add ghost windows to about:compartments. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
6bbad8f5f3 Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8 2012-04-02 10:37:04 -04:00
Ed Morley
03c3de4ed0 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
95c37af45a Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-03-31 15:39:31 -07:00
Justin Lebar
b10eb78968 Bug 738624 - Add ghost windows to about:compartments. r=njn 2012-03-31 15:39:31 -07:00
Justin Lebar
f6d0e02d3a Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8 2012-03-31 15:39:31 -07:00
Nicholas Nethercote
7d318857cf Bug 713799 - Rearrange the "window-objects" sub-tree in about:memory to make per-tab memory usage more obvious. r=jst. 2012-03-12 23:00:18 -07:00
Nicholas Nethercote
73c5289a1c Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar. 2012-03-04 15:26:30 -08:00
Nicholas Nethercote
63485d3bd7 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey. 2012-02-23 18:43:33 -08:00