Commit Graph

53 Commits

Author SHA1 Message Date
Nicholas Nethercote
9f8bdf28aa Bug 913260 (part 2) - Tweak ghost window reporters. r=mccr8. 2013-09-18 19:01:29 -07:00
Phil Ringnalda
f2d9988dbb 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
6a709f70b8 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
a37f0fd912 Bug 913260 (part 2) - Tweak ghost window reporters. r=mccr8.
--HG--
extra : rebase_source : db98ac69096f942608ead78709265609593e85d6
2013-09-18 19:01:29 -07:00
Nicholas Nethercote
20652ab543 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
fd238cabbe 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
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
86b679f348 Bug 831193 (part 21) - Make NumGhostsReporter a subclass of MemoryReporterBase. r=jlebar.
--HG--
extra : rebase_source : 8777a4dabebdb5928c200401445d7c29f5bf3bcb
2013-08-22 22:26:23 -07:00
Ehsan Akhgari
c0a07f27fe Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Ehsan Akhgari
0d5d6f77f6 Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley 2013-08-13 13:51:50 -04:00
Justin Lebar
6e1f60a4f4 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
82984fe6e0 Bug 846019 - Part 2: Prefix memory reports with add-on ids. r=njn 2013-06-14 22:48:28 -04:00
Aryeh Gregor
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
David Zbarsky
e7c500d80d Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Nicholas Nethercote
500e72cfdf 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
David Zbarsky
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Nicholas Nethercote
3dca3123e6 Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Nicholas Nethercote
b6939f2c42 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
bb913c3d1a Bug 802894 - Add a memory reporter for nsEffectiveTLDService. r=jduell.
--HG--
extra : rebase_source : 32cdfbf060c963d6a16875af406949b8eef50453
2012-10-19 05:07:13 -07:00
Mook
7bacae6cd6 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
29781b32ab Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn 2012-10-17 10:44:31 -04:00
Justin Lebar
66c20930d8 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
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4 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
d9d85b82d7 Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke.
--HG--
extra : rebase_source : 20329a698154ef61cea74247d3dccc9f01899829
2012-07-05 21:12:37 -07:00
Nicholas Nethercote
cd23690fd5 Bug 711130 (part 1) - Fix "window-objects" measurement inconsistency. r=nfroyd.
--HG--
extra : rebase_source : d58788d8d47eeac7d4ecac85eb016c5fd6c4b739
2012-06-25 17:06:50 -07:00
Nathan Froyd
630362934d 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
51b1dd666a Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote
d09087aa9d 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
Nathan Froyd
fdb381e06d 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
21b0f8399f Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
Nathan Froyd
bd8ece9a84 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
e2a130e76d Bug 754241 - add window-objects-layout-pres-contexts to about:memory; r=njn 2012-05-11 09:23:07 -04:00
Nathan Froyd
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Patrick Wong
15df25098f 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
8f1a69a0ab Bug 737857 - Report number of ghost windows in telemetry. r=njn
--HG--
extra : rebase_source : 0139099de839f77405ec1e606fc0540fc892cbd5
2012-04-02 22:28:13 -04:00
Justin Lebar
e71332b560 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Justin Lebar
3494c5ed8e Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
extra : rebase_source : 02d563277907231953728a0a99847c466665dbb0
2012-04-02 22:28:04 -04:00
Matt Brubeck
678b0cfe89 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
d8022c463a Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
007d8115b5 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Justin Lebar
f5815cc539 Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
extra : rebase_source : 5194c9062cdfcd215ce5d708b1b472cf5ba7f480
2012-04-02 10:37:04 -04:00
Ed Morley
e0cc7fbc48 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
18e8a365bc Bug 737857 - Report number of ghost windows in telemetry. r=njn
--HG--
extra : rebase_source : 69cc470a02fb59ca14e81f948a5fa0f8ce0dd0c8
2012-03-31 15:39:31 -07:00
Justin Lebar
42967d11c8 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : 37480ae937cbe2a09ae0ce7c187dafef94db5e16
2012-03-31 15:39:31 -07:00
Justin Lebar
918da37a8b Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
--HG--
rename : parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html => extensions/universalchardet/tests/bug631751be_text.html
rename : dom/bindings/test/test_lookupGetter.html => js/xpconnect/tests/mochitest/test_bug462428.html
rename : b2g/components/UpdatePrompt.js => mobile/android/components/UpdatePrompt.js
rename : toolkit/mozapps/update/updater/progressui_gonk.cpp => toolkit/mozapps/update/updater/progressui_null.cpp
extra : rebase_source : 11dacf98b525eec3912f209e612a03b0c4ca0a96
2012-03-31 15:39:31 -07:00