Daniel Holbert
16ca0f0f2b
Bug 1045110 - Add parens around assignment in "while" condition, to silence GCC Wparentheses warning. r=njn
2014-07-28 17:09:00 +02:00
Jan Keromnes
5bf3018ec4
Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp,njn
2014-07-21 18:23:49 -07:00
Jan Beich
46c7501bd7
Bug 1035747 - Fix dangerous public destructors specific to FreeBSD. r=bjacob
2014-07-08 05:21:00 +02:00
Benoit Jacob
49fdae91d7
Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan
2014-07-05 16:35:35 -04:00
Jed Davis
5aed487614
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
...
--HG--
extra : rebase_source : 2958f582f43bfac86ec29d784b4fb8825ca17257
extra : histedit_source : 96e39e36cbe506332d761c375b902284a695901a%2C245fc9ec3c6a3bbf4e5e5ce7b0da63f4477f36b9
2014-07-02 15:59:02 -07:00
Wes Kocher
f174cd042e
Backed out 3 changesets (bug 956961) for non-unified build bustage
...
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis
13464be50b
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
2014-07-02 11:27:48 -07:00
Benoit Jacob
1f73b3fe2e
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Wes Kocher
d65e707f3f
Backed out 4 changesets (bug 1028588) for build bustage
...
Backed out changeset 13a8bae671ca (bug 1028588)
Backed out changeset 19a19833f1d6 (bug 1028588)
Backed out changeset d5fae80054de (bug 1028588)
Backed out changeset 5942ad3859b8 (bug 1028588)
2014-06-30 15:50:19 -07:00
Benoit Jacob
35b82308d8
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Nicholas Nethercote
39f29c384a
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jan Keromnes
78b25a6311
Bug 976024 - Track Unique Set Size in the Developer HUD. r=21, r=njn
2014-06-13 06:38:00 +02:00
Nicolas B. Pierron
389eb6855e
Bug 1014071
- Add support for USS on Linux. r=BenWa,njn
2014-06-05 08:31:09 -07:00
Jan Beich
72cc1b277a
Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld
2014-05-29 05:24:00 +02:00
Eric Rahm
fd5aaf36e7
Bug 1006769 - Part 1: Improve heap-overhead memory reporting. r=njn
2014-05-21 17:34:06 -07:00
Nicholas Nethercote
b8e23eaf85
Bug 1014249 - Beef up the "is DMD enabled?" and "is DMD running?" checks. r=mccr8.
...
--HG--
extra : rebase_source : 868ce1a1e470e45f51447f5126982aaeb51905f1
2014-05-22 19:45:14 -07:00
Birunthan Mohanathas
c4568a7085
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
861e6d5ffe
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00
Birunthan Mohanathas
cf3e12c35a
Bug 995730 - Change xpcom/base/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Eric Rahm
18f7073ce7
Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj
2014-04-24 17:35:59 -07:00
Jed Davis
4742184268
Bug 991791 - Fix some timing-dependent edge cases in nsMemoryReporterManager child handling. r=njn
...
The patch for bug 946407 changed the state space of
nsMemoryReporterManager in a subtle way: if we're using
MinimizeMemoryUsage with our report, then it's possible for all of
the child processes to finish (or for the timeout to expire) before
the parent has started reporting on itself. This could cause us to
dereference a null pointer to the state struct in StartGettingReports().
To fix this, we keep track of whether the parent has actually done its
report, and defer finishing the report until then.
2014-04-07 13:33:00 +02:00
Ben Kelly
de721ff0ff
Bug 991412: Provide static convenience method to retrieve RSS. r=njn
2014-04-07 10:46:20 -04:00
Ehsan Akhgari
7e1e6e5ff9
Bug 982072 - Don't leak the argument passed to RegisterStrongMemoryReporter if we fail to get the service; r=froydnj
2014-03-11 14:15:27 -04:00
Jed Davis
6a4c4691a0
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Gabriele Svelto
b7270f6ca1
Bug 975434 - Remove the ability to cancel memory minimizations. r=njn
2014-02-25 16:37:30 +01:00
Nicholas Nethercote
e66386ee26
Bug 956199 - Fix style of xpcom/base/nsMemoryReporterManager.{h,cpp}. r=bsmedberg.
...
--HG--
extra : rebase_source : 79a8053c97ecb0786f0a722838f66fc85c5e1368
2014-01-02 19:19:32 -08:00
Mike Hommey
9ff8bb64aa
Bug 969800 - Fix nsMemoryReporterManager::GetVsize for !HAVE_VSIZE_AND_RESIDENT_REPORTERS and add GNU/kFreeBSD support to nsMemoryReporterManager. r=njn
2014-02-11 10:43:41 +09:00
Neil Rashbrook
c8132dbb0b
Bug 969324 Remove unnecessary ReporterEnumerator r=njn
2014-02-10 19:26:08 +00:00
Thomas Zimmermann
0b22d9d966
Bug 968849: Fix GCC warnings about uninitialized variables, r=froydnj
2014-02-06 17:57:38 +01:00
Birunthan Mohanathas
c293ca84b8
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
6d52f7f2e0
Bug 758992 follow-up - Mark DoNothingCallback final to avoid compiler warnings; blanket-r=bzbarsky
2014-01-03 09:54:32 -05:00
Nicholas Nethercote
1f49ef8fa9
Bug 955942 (part 3) - Merge the heap reporters. r=mccr8.
...
--HG--
extra : rebase_source : f836b1b2de9c850fa3d956bf6ef92a7c6c504fce
2014-01-02 15:19:08 -08:00
Nicholas Nethercote
82b05b710d
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9505172caf
Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
...
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Nils Maier
bf1452f63e
Bug 950391 - Add nsIMemoryReporterManager.unregisterStrongReporter. r=njn
...
Also do not allow to register non-native components as weak reporters.
2013-12-18 13:00:03 -05:00
Trevor Saunders
907dfc4528
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Jan Beich
2727a2615b
Bug 948833 - Explicitly include <algorithm> for std::max on FreeBSD. r=njn
2013-12-11 10:35:33 -05:00
Andrew McCreight
74b0e52065
Bug 948686 - Remove unused variable declaration. r=njn
2013-12-11 10:35:13 -05:00
Nicholas Nethercote
1e79a74289
Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
...
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Nicholas Nethercote
bdfbbf7bcd
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Jan Beich
54fe9a1901
Bug 946560 - Dump about:memory upon receiving a signal on FreeBSD as well. r=njn
2013-12-05 09:38:46 -05:00
Nicholas Nethercote
803d8a5bcc
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Jan Beich
235cf51f70
Bug 945046 - Implement private and vsize-max-contiguous reporters on FreeBSD. r=njn, r=glandium
2013-12-02 12:51:27 -05:00
Jan Beich
55c4f8b847
Bug 945046 - Move private, vsize-max-contiguous class implementation under their own ifdef. r=njn
2013-12-02 12:51:26 -05:00
Nicholas Nethercote
77419f6a47
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
c3970a73fb
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Benjamin Smedberg
9bfc4e98e3
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00