Jan Beich
72cc1b277a
Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld
2014-05-29 05:24:00 +02: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
5d51a7d58f
Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...)
. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
497a0d9d6f
Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj
2014-05-14 23:14:58 +03:00
Jed Davis
eb69e55005
Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
...
This has a few semi-interdependent pieces:
* Factoring out the file opening/closing/renaming from the GC/CC logging.
* Using IPC to have the child log to files that the parent opened.
* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
of child process logging (which was impossible before this, and which is
needed to have a meaningful test case).
* Changing about:memory to dump logs for child processes, matching the
behavior of the "Measure" button, because it can tell the user where
they are now.
* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
interface, not by clicking buttons and scraping the about:memory page,
but done as a chrome mochitest to start remote browsers); based on
test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04: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
Eric Rahm
4277a8d2df
Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj
2014-04-24 15:58:57 -07:00
Eric Rahm
78fb9239ae
Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD
2014-04-24 12:43:11 -07:00
Alphan Chen
9bb915d298
Bug 964636 - Part 1: Move common classes and functions out of nsMemoryInfoDumper. r=dhylands
2014-03-20 15:29:51 +08:00
Fabrice Desré
57b5964974
Bug 980419 - Don't access preferences omt in nsMemoryInfoDumper.cpp r=bsmedberg
2014-03-21 13:50:44 -07: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
90b8a00e9d
Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
...
--HG--
extra : rebase_source : 56af9b89675394b5a219f699b96c1d26c00adc38
2014-01-31 14:43:08 -08: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
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
7b9f6814c3
Bug 947802 (part 1) - Inline DumpReport(). r=mccr8.
...
--HG--
extra : rebase_source : f5c8a655e88dc7641c2a9971d1174b0d689bf3b4
2013-12-01 16:14:26 -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
Andrew McCreight
744b82250b
Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj
2013-12-02 13:11:43 -08: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
Nicholas Nethercote
2efdc47a99
Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
...
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Nicholas Nethercote
4a605a305c
Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
...
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Nicholas Nethercote
0fe33eb7d9
Bug 929791 - Fix invalid JSON generation when dumping memory reports to file after viewing about:memory in the presence of child processes. r=mccr8.
2013-10-22 16:58:33 -07:00
Birunthan Mohanathas
4f2da6a7bd
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Nathan Froyd
b095d63d5d
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Ehsan Akhgari
671bbdc894
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ehsan Akhgari
5ab015ba00
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:29:31 -04:00
Ehsan Akhgari
64c0466192
Backed out changeset a8d6973e5743 (bug 917885) because I pushed the wrong patch
2013-09-19 14:27:35 -04:00
Ehsan Akhgari
bd006a7585
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:12:56 -04:00
Nicholas Nethercote
9d1d4e73b0
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
Nicholas Nethercote
d9ca4d212c
Bug 831193 (part 17) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in xpcom/. r=jlebar.
...
--HG--
extra : rebase_source : 7e2984a99fb7e00aa0ea6bebc23e23e4c99e0b1e
2013-01-17 21:43:21 -08:00
Nathan Froyd
3be905a68a
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar
2013-08-22 11:14:42 -04:00
Joshua Cranmer
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
03b669f709
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
...
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Justin Lebar
873d2309bf
Bug 890135 - Switch B2G's "gc log" dumping to produce all-traces logs by default. r=mccr8
...
This patch also adds "abbreviated gc log", which produces a not-all-traces CC log.
--HG--
extra : rebase_source : 84eed72c34b7cc8116fbe05258f5de22bf3275bc
2013-07-08 13:20:39 -04:00
Justin Lebar
5c582e6a2f
No bug: Fix typo in name of unused parameter. DONTBUILD
...
--HG--
extra : rebase_source : d067ab4920157e8bd388eecc6df5130b0c3b61c4
2013-06-25 18:28:25 -07:00
Justin Lebar
20745d46d0
Bug 874065 - On B2G, dmp memory reports to /data/local/tmp/memory-reports, and make that directory have 0777 permissions. r=dhylands
2013-05-30 20:50:36 -04:00
Nicholas Nethercote
1d138c7def
Bug 848560 (part 3) - Add support to about:memory for writing memory report dumps and reading gzipped memory report dumps. code=nnethercote,maierman. r=jlebar.
...
--HG--
extra : rebase_source : b93b45d1f4c22a388eedff890c19dc1952c576de
2013-03-27 20:31:26 -07:00
Kartikaya Gupta
63723cb5e9
Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
...
CLOSED TREE
2013-03-01 10:41:17 -05:00
Ed Morley
bb4c7b9abe
Backed out changeset 1eda65741914 (bug 845804) for xpcshell failures on a CLOSED TREE
2013-03-01 17:31:38 +00:00
Kartikaya Gupta
3fef252deb
Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
2013-03-01 10:41:17 -05:00
Kartikaya Gupta
b2351dc830
Bug 845342 - Move about:memory and related dump files to the downloads dir on android. r=njn
2013-02-27 08:58:29 -05:00
Nicholas Nethercote
b91ac7ea78
Bug 830226 - Reorder memory dumping for increased DMD effectiveness. r=jlebar.
...
--HG--
extra : rebase_source : 77e864789569a5a5ab1cf81aa403b38fb9a2cb1c
2013-01-15 18:44:11 -08:00
Justin Lebar
a6448c2ae3
Bug 809949 - Dump memory reports when 'memory report' is written to a special fifo on disk. r=glandium,njn
2013-01-14 01:43:25 -05:00
Nicholas Nethercote
5ee4d74504
Bug 826183 - DMD: clear reportedness data before running memory reporters and dumping. r=jlebar.
...
--HG--
extra : rebase_source : 3ea1c71eacdee712b2d1739a8e25cbf854ea0424
2013-01-06 13:34:39 -08:00
Neil Rashbrook
b87325632b
Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron
2012-12-22 20:40:37 +00:00
Gabriele Svelto
c95ca6c01f
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
24cd6ffd1e
Bug 717853 (follow-up): Remove the extra '.' char in the suffix of dumped files. r=me.
...
--HG--
extra : rebase_source : b57126283ba04ad93ab185c8d0800c41ef6f1793
2012-12-11 05:10:37 -08:00