Nicholas Nethercote
09a193e478
Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8.
...
--HG--
extra : rebase_source : ddc94d9be1ee0acc6dda30540defd5f40db0adcb
2014-09-02 20:34:58 -07:00
Nicholas Nethercote
273d7cc068
Bug 1067699 (part 2) - Add mfbt/JSONWriter.h and use it for memory reporting. r=froydnj.
...
--HG--
extra : rebase_source : 7eb21c4c20c0434b3b236d1c53cbef9cb6a4759c
2014-09-14 23:36:18 -07:00
Nicholas Nethercote
0b66ceae91
Bug 1065258 (part 8) - Rename TempDirMemoryFinishCallback. r=jld.
...
--HG--
extra : rebase_source : c478218da5d45e091156aa4dc9d64514f71d403d
2014-09-10 00:41:50 -07:00
Nicholas Nethercote
03c5fb0c7d
Bug 1065258 (part 7) - Move DumpMemoryReportsToNamedFile earlier. r=jld.
...
--HG--
extra : rebase_source : b9f6289c6ed0010997d1e21fd461a802d1895cf0
2014-09-10 00:40:36 -07:00
Nicholas Nethercote
90e73486ef
Bug 1065258 (part 6) - Factor out code shared by DumpMemoryReportsToNamedFile() and DumpMemoryInfoToTempDir(). r=jld.
...
--HG--
extra : rebase_source : 2f4c9f6da6202169ec480dcbf52047308c25b840
2014-09-10 00:40:10 -07:00
Nicholas Nethercote
fcdaede7d4
Bug 1065258 (part 5) - Make TempDirMemoryFinishCallback a nsIFinishDumpingCallback object. r=jld.
...
--HG--
extra : rebase_source : 0a16d0a6193c3de9ae7cc1c68991dbda24171dc7
2014-09-10 00:34:47 -07:00
Nicholas Nethercote
70c26f1e8b
Bug 1065258 (part 4) - Move FinishReportingCallback earlier. r=jld.
...
--HG--
extra : rebase_source : e9c5cc0bf8297cfcef9fae1f0b7da5d03afc659c
2014-09-10 00:32:58 -07:00
Nicholas Nethercote
6108d5a9bf
Bug 1065258 (part 3) - Remove TempDirMemoryFinishCallback::mIdentifier, which is dead. r=jld.
...
--HG--
extra : rebase_source : 7db3562208f78be05b855efcbee7f6182df8bf42
2014-09-10 00:31:40 -07:00
Nicholas Nethercote
74321f14ac
Bug 1065258 (part 2) - Rename some variables. r=jld.
...
--HG--
extra : rebase_source : cd1ff03dbf8ad455529ba763c722cb1ec34162b1
2014-09-10 00:30:17 -07:00
Nicholas Nethercote
a461a8bd9b
Bug 1065258 (part 1) - Inline TempDirMemoryFinishCallback(). r=jld.
...
--HG--
extra : rebase_source : 40f0ebd81d3e4061a4bfde932ef1e55cfd5d7332
2014-09-10 00:27:45 -07:00
Nicholas Nethercote
b662348a22
Bug 1061024 (part 3) - Remove a redundant dmd::ClearReports() call. r=jld.
...
--HG--
extra : rebase_source : 5c79c9187fbffe2b5a8c63184cc9d3f158877a8e
2014-08-31 22:36:01 -07:00
Nicholas Nethercote
cb8defd2fa
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
c632d54478
Bug 1063321 - Print to the console the paths of all files that DMD opens. r=mccr8.
...
--HG--
extra : rebase_source : 50a18a0a074f929ab934c5b3eade1c69e6ba4510
2014-09-04 20:45:22 -07:00
Birunthan Mohanathas
80ef08ccd8
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
4af9c14370
Bug 1048239 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:32 -04:00
Nicholas Nethercote
c07ebda3e2
Bug 1035570 (part 3) - DMD: Add DMDAnalyzeHeap(), a heap snapshot function. r=erahm,mccr8.
...
The patch also adds DMDAnalyzeReports() as a synonym for DMDReportAndDump(),
and deprecates the latter.
--HG--
extra : rebase_source : 651246aa7a0a301f804c124f25beb0e8ed6cd67f
2014-05-29 23:46:09 -07:00
Benoit Jacob
4591b4f708
Bug 1035394 - Fix dangerous public destructors in xpcom - r=khuey
2014-07-08 17:23:17 -04:00
Jed Davis
1e4a828cc8
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
03cdc19fec
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
adc6a05bd1
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
2014-07-02 11:27:48 -07:00
Benoit Jacob
81effa4bca
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Wes Kocher
03da42e8b1
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
522e4724cc
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jan Beich
5fd1e63768
Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld
2014-05-29 05:24:00 +02:00
Nicholas Nethercote
d71b0cc308
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
a5ab25c973
Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...)
. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
0d2648eb80
Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj
2014-05-14 23:14:58 +03:00
Jed Davis
e4ced412bb
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
fb371cca99
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00
Birunthan Mohanathas
8f4f3e6fea
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
5f1fde8824
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
4231758a40
Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj
2014-04-24 17:35:59 -07:00
Eric Rahm
1038554fe5
Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj
2014-04-24 15:58:57 -07:00
Eric Rahm
1058655d11
Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD
2014-04-24 12:43:11 -07:00
Alphan Chen
a0abfdd08c
Bug 964636 - Part 1: Move common classes and functions out of nsMemoryInfoDumper. r=dhylands
2014-03-20 15:29:51 +08:00
Fabrice Desré
5f762ca086
Bug 980419 - Don't access preferences omt in nsMemoryInfoDumper.cpp r=bsmedberg
2014-03-21 13:50:44 -07:00
Jed Davis
76ab6d796b
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
11bc10edd4
Bug 975434 - Remove the ability to cancel memory minimizations. r=njn
2014-02-25 16:37:30 +01:00
Nicholas Nethercote
9c25748c63
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
1b83407ce9
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
8450156576
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
c421917f2f
Bug 947802 (part 1) - Inline DumpReport(). r=mccr8.
...
--HG--
extra : rebase_source : f5c8a655e88dc7641c2a9971d1174b0d689bf3b4
2013-12-01 16:14:26 -08:00
Jan Beich
1c770cae96
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
d7d019c197
Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj
2013-12-02 13:11:43 -08:00
Benjamin Smedberg
8fd1bc7f20
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Nicholas Nethercote
8aa18001f7
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
5da5c4cd53
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
eba1059de2
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
0244dd58be
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00