Nicholas Nethercote
6a9bbc92d7
Bug 1194061 - Implement "system-heap-allocated" reporter for Windows. r=dmajor.
2015-08-19 20:35:17 -07:00
Nicholas Nethercote
c085de28ef
Bug 828844 - Add a "system-heap-allocated" memory report on Linux. r=glandium.
...
This gives zero when jemalloc is enabled and non-zero when jemalloc is disabled
(e.g. I got 83 MiB at start-up, which sounds plausible).
2015-08-12 17:44:00 -07:00
Nate Hughes
14332a5af7
Bug 986302 - Add memory reporting for HPACK tables r=hurley r=njn
2015-07-17 14:38:10 -07:00
Carsten "Tomcat" Book
69f364f210
Backed out changeset 8b90b21e0c64 (bug 986302) for static build failures
2015-07-21 08:53:37 +02:00
Nate Hughes
17ce4e8545
Bug 986302 - Add memory reporting for HPACK tables. r=hurley r=njn
2015-07-17 14:38:10 -07:00
Ehsan Akhgari
41912c83ec
Bug 1123386 - Part 3: Mark DoNothingCallback::Callback as override in order to fix a build issue in warnings as errors mode
2015-07-17 22:19:57 -04:00
Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Nicholas Nethercote
37437f9afd
Bug 1181445 (part 2) - Use nsTHashTable::Iterator in nsMemoryReporterManager. r=froydnj.
2015-07-08 22:32:39 -07:00
Jed Davis
8c41ec60d0
Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
...
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.
Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Phil Ringnalda
43e026fb3f
Back out e05936099653 (bug 1154053) on suspicion of causing the hellish frequency of Android 2.3 robocop-2 crashes that resulted in this CLOSED TREE, a=bustage
2015-05-07 22:41:26 -07:00
Jed Davis
2763e89b34
Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
...
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.
Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Jed Davis
6330d6fde9
Bug 1151597 - Step 2: Don't start child process memory reports until parent is finished. r=erahm
2015-04-27 15:46:00 -04:00
Jed Davis
528253e49b
Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
...
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.
2015-04-27 15:45:00 -04:00
Jed Davis
1daf71846d
Bug 1154041 - Enable child process memory report logging by default on B2G. r=erahm
2015-04-24 14:53:00 -04:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nicholas Nethercote
c9a60ad954
Bug 1145007 (part 2) - Add a "resident-peak" distinguished amount and memory reporter on Unix. r=erahm.
2015-03-19 15:16:37 -07:00
Nathan Froyd
b2f4f5ee97
Bug 1141689 - use services::GetObserverService more; r=ehsan
2014-04-29 13:31:06 -04:00
Nicholas Nethercote
5b10b0f631
Bug 1138770 - Make memory reporters that have been stashed for testing eligible for unregistration. r=mccr8.
2015-03-02 18:55:42 -08:00
Nicholas Nethercote
957050271d
Bug 1134030 - Add WindowsAddressSpaceReporter. code=njn,dmajor. r=dmajor,njn.
2015-02-20 13:13:16 +11:00
Daniel Holbert
083d2492c5
Bug 1125632 followup: Mark remaining CollectReports impls in nsMemoryReporterManager.cpp and SystemMemoryReporter.cpp as MOZ_OVERRIDE.
2015-01-27 09:48:54 -08:00
Daniel Holbert
55ef519e1b
Bug 1125632: Annotate ResidentUniqueReporter::CollectReports as MOZ_OVERRIDE. r=njn
2015-01-25 15:14:00 -08:00
Nicholas Nethercote
722df8bd3e
Bug 1121830 - DMD: add "num" property to blocks in the output. r=mccr8.
...
The new "num" property lets identical blocks be aggregated in the output. This
patch only uses the "num" property for dead blocks, because that's where the
greatest potential benefit lies, but it could be used for live blocks as well.
On one test case (a complex PDF file) running with --mode=cumulative
--sample-below=1 this patch had the following effects.
- Change in running speed was negligible.
- Compressed output file size dropped from 8.8 to 5.0 MB.
- Compressed output file size dropped from 297 to 50 MB.
- dmd.py runtime (without stack fixing) dropped from 30 to 8 seconds.
2015-01-15 20:38:38 -08:00
James Willcox
1241cd7cc4
bug 1118552 - fix gcc4.9 warnings on Android r=glandium
2015-01-06 22:20:46 -05:00
Ehsan Akhgari
61fc99a4ee
Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj
2015-01-05 11:25:41 -05:00
Nicholas Nethercote
7553049ead
Bug 1094552 (part 6) - DMD: add support for cumulative heap profiling. r=mccr8.
...
By adding a new "cumulative" mode.
--HG--
extra : rebase_source : 5c851b7c594a134fae48393ff0becfd057715041
2014-10-30 20:22:47 -07:00
Nicholas Nethercote
38d9efd544
Bug 1094552 (part 3) - DMD: rename |Block| as |LiveBlock|. r=mccr8.
...
This is to give better contrast with |DeadBlock|, which will be added in the
next patch.
--HG--
extra : rebase_source : cbc767fcc5667cfed108ca7c4ebf1d7e82aa185e
2014-11-18 18:57:20 -08:00
Nicholas Nethercote
3c8c5ede88
Bug 1061024 (part 2) - Some minor DMD clean-ups. r=jld.
...
--HG--
extra : rebase_source : f780376e8803222c92a5a92bc4155600e068ce0c
2014-08-31 22:35:28 -07:00
Nicholas Nethercote
ab0f8a32cb
Bug 1061024 (part 1) - Don't run DMD when about:memory's "Measure" button is pressed. r=jld.
...
--HG--
extra : rebase_source : ddf0236352c64eb9839dfd0a219451a568aba10e
2014-08-31 20:36:26 -07:00
Birunthan Mohanathas
51a8149753
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Ehsan Akhgari
d865feac08
Bug 1048239 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:32 -04:00
Eric Rahm
8cce93854c
Bug 1027921 - Part 9: Add DeadlockDetector memory reporter. r=njn, r=froydnj
2014-08-04 16:20:37 -07:00
Nicholas Nethercote
38af3acc04
Bug 1046477 (part 1) - Separate the reporting of the main and static atoms tables. r=froydnj.
...
--HG--
extra : rebase_source : c60db11fc39d180e43f22e7f395eea24cd358aa3
2014-07-30 23:06:57 -07:00
Daniel Holbert
52db1d0c08
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
906ada3aa1
Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp,njn
2014-07-21 18:23:49 -07:00
Jan Beich
74472f6768
Bug 1035747 - Fix dangerous public destructors specific to FreeBSD. r=bjacob
2014-07-08 05:21:00 +02:00
Benoit Jacob
7de25b6e09
Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan
2014-07-05 16:35:35 -04:00
Jed Davis
64a64fe325
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
d92a5b23cd
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
ce696ef6d9
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
2014-07-02 11:27:48 -07:00
Benoit Jacob
edbefa40b5
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Wes Kocher
5414ff6193
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
027818fcb7
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Nicholas Nethercote
bb9d51e11e
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
a1f942ae7d
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
36080db022
Bug 1014071
- Add support for USS on Linux. r=BenWa,njn
2014-06-05 08:31:09 -07:00
Jan Beich
a015ce0772
Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld
2014-05-29 05:24:00 +02:00
Eric Rahm
cc0ba9c941
Bug 1006769 - Part 1: Improve heap-overhead memory reporting. r=njn
2014-05-21 17:34:06 -07:00
Nicholas Nethercote
c360e10994
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
fa0eb27120
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
00fa77001b
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00