Commit Graph
90 Commits
Author SHA1 Message Date
Nicholas Nethercote b6b6a322b0 Bug 1076446 (attempt 2) - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Andrew McCreight 17f450dd4e Bug 1082128 - Make id to string conversion in DMD use a class. r=njn 2014-10-24 13:44:33 -07:00
Carsten "Tomcat" Book 112c54a4be Backed out changeset 835fbe63da4a (bug 1076446) for perma failure in 10.8 mozilla-inbound debug test xpcshell 2014-10-24 12:32:38 +02:00
Carsten "Tomcat" Book d034b57bc4 Backed out changeset 450c187cbc1b (bug 1085727) 2014-10-24 12:32:03 +02:00
Nicholas Nethercote 493610a871 Bug 1085727 (part 1) - DMD: make some very short functions one-liners. r=mccr8. 2014-10-20 17:45:09 -07:00
Nicholas Nethercote b8036ed928 Bug 1076446 - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Nicholas Nethercote 52dc2df1dc Bug 1078979 - Add more testing of dmd.py. r=erahm. 2014-10-09 16:50:12 -07:00
Nicholas Nethercote e17e0749b6 Bug 1079660 - DMD: don't call malloc et al. directly in the test. r=glandium. 2014-10-07 21:44:42 -07:00
Nicholas Nethercote 5eb54cdff0 Bug 1073312 - Test DMD on TBPL (Linux-only). r=glandium. 2014-09-28 20:50:52 -07:00
Nicholas Nethercote 74467bfdc8 Bug 1079657 - DMD: Remove the "stress" mode. r=erahm. 2014-10-08 14:56:46 -07:00
Nicholas Nethercote 2e4ef63638 Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8. 2014-09-02 20:34:58 -07:00
Nicholas Nethercote aba5072dce Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron. 2014-09-10 21:47:01 -07:00
Ed Morley 1c977f5017 Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs 2014-10-03 15:06:16 +01:00
Nicholas Nethercote 52aecfdcd6 Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron. 2014-09-10 21:47:01 -07:00
Cervantes Yu b662cccda6 Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey 2014-09-30 00:00:00 +08:00
Carsten "Tomcat" Book d3eb07ba53 Backed out changeset 1e25cd3e8219 (bug 1051633) for B2G ICS Emulator Opt m4 test failures 2014-09-24 11:28:37 +02:00
Cervantes Yu 5927c5ac47 Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey 2014-08-15 17:19:05 +08:00
Nicholas Nethercote f54004414d Bug 1063321 - Print to the console the paths of all files that DMD opens. r=mccr8. 2014-09-04 20:45:22 -07:00
Nicholas Nethercote f30e108c5e Bug 1050601 - Remove fix-linux-stack.pl. r=ted. 2014-09-03 09:24:38 -07:00
Nicholas Nethercote f4dc45968a Bug 1061385 - Remove |Writer| parameter from CodeAddressService. r=mccr8. 2014-09-01 20:03:06 -07:00
Andrew McCreight c2d0686d75 Bug 1058169 - Add explicit ctor annotations in DMD.cpp. r=njn 2014-08-28 12:53:47 -07:00
Terrence Cole 639426bab4 Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco 2014-08-05 14:06:35 -07:00
Terrence Cole 141bb16882 Bug 1033442 - Remove non-pod malloc from MallocProvider and AllocPolicy; r=jonco 2014-08-08 13:22:39 -07:00
Terrence Cole 845c16df98 Bug 1033442 - Remove non-pod calloc from MallocProvider and AllocPolicy; r=jonco 2014-08-05 14:06:35 -07:00
Andrew McCreight 8f96a9fb10 Bug 1004609, part 9 - Rename DMDLocationService to CodeAddressService. r=njn 2014-07-31 16:39:26 -07:00
Andrew McCreight 4c51c9513d Bug 1004609, part 7 - Move LocationService into xpcom. r=njn,froydnj 2014-07-31 16:39:25 -07:00
Andrew McCreight af9744adb4 Bug 1004609, part 5 - Templatize LocationService over the lock. r=njn 2014-07-31 16:39:25 -07:00
Andrew McCreight e927e18516 Bug 1004609, part 4 - Templatize LocationService over the string allocator. r=njn 2014-07-31 16:39:25 -07:00
Andrew McCreight 81ecccef8c Bug 1004609, part 3 - Templatize LocationService over the string interner. r=njn 2014-07-31 16:39:24 -07:00
Andrew McCreight f6e55f9513 Bug 1004609, part 2 - Templatize LocationService over the writer. r=njn 2014-07-31 16:39:24 -07:00
Andrew McCreight 1fe403e13d Bug 1004609, part 1 - Inline the W() macro in LocationService. r=njn
This will make it easier to move it later.
2014-07-31 16:39:24 -07:00
Andrew McCreight 2d27030c89 Bug 1045241 - Make memory reporting for LocationService more normal. r=njn 2014-07-31 16:39:24 -07:00
Nicholas Nethercote b63426bdfd 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.
2014-05-29 23:46:09 -07:00
Nicholas Nethercote 7cf4229711 Bug 1035570 (part 2) - DMD: make output easier for machines to parse. r=erahm.
There are likely to be post-processing scripts for DMD added in the future. In
anticipation, this patch tweaks DMD's output to be a little more conducive to
machine parsing.

The basic idea is this:

- Lines beginning with '#' are comments and can be ignored, as can blank lines.

- All top level blocks consist of a string ending with '{', and then one or
  more indented lines, and then a closing '}' on its own line. Any multi-line
  things within a block are themselves enclosed in braces.

The diff for memory/replace/dmd/test-expected.dmd shows what this looks like in
practice.

It's a long way from a formal grammar or anything like that, but that would be
overkill. In this form it's quite easy to parse with simple scripts that just
do line-based regexp matching, rather than proper parsing. And it's still very
readable to humans, so I think it's a reasonable balance overall.
2014-06-05 19:06:50 -07:00
Nicholas Nethercote 1061f6e375 Bug 1035570 (part 1) - DMD: Rename TraceRecord as Record. r=erahm.
DMD used to have "stack trace records" and "stack frame records". Bug 1013011
removed the latter, and now "stack trace record" and |TraceRecord| are a bit
unwieldy. This patch changes them to "heap block record" and |Record|.
2014-06-05 18:57:02 -07:00
Nicholas Nethercote 0ad6941db7 Bug 1017911 - DMD: don't use alloca(), because it's a pain to get working on multiple platforms. r=mccr8.
DONTBUILD because DMD is NPOTB.
2014-05-29 17:04:23 -07:00
Nicholas Nethercote 1897c16447 Bug 1014249 - Beef up the "is DMD enabled?" and "is DMD running?" checks. r=mccr8. 2014-05-22 19:45:14 -07:00
Nicholas Nethercote d2749abb60 Bug 1013011 - DMD: Remove stack frame records. r=erahm.
DONTBUILD because DMD is NPOTB.
2014-05-19 19:57:50 -07:00
Eric Rahm bc4d31ff76 Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD 2014-04-24 12:43:11 -07:00
Eric Rahm 2f284b2b0c Bug 968956 - DMD: Acquire state lock before clearing reports. r=njn.
DONTBUILD because DMD is NPOTB.
2014-02-07 15:23:50 -08:00
Nicholas Nethercote 4a6a8e93bc Bug 950545 (part 2) - Fix assertion failures and output mismatches in the DMD test. r=iacobcatalin.
DONTBUILD because DMD is NPOTB
2013-12-18 13:58:08 -08:00
Nicholas Nethercote ca8abde672 Bug 950545 (part 1) - Fix the dump numbering in the DMD test. r=iacobcatalin. 2013-12-18 13:55:47 -08:00
Nicholas Nethercote f101ee996d Bug 948621 (part 2) - Abort DMD-enabled Windows builds unless --enable-profiling is specified. r=ehsan. 2013-12-15 13:50:39 -08:00
Nicholas Nethercote 30556d2434 Bug 948621 (part 1) - DMD: Handle arbitrary PC values in stack frames. r=iacobcatalin.
DONTBUILD because NPOTB
2013-12-15 13:47:11 -08:00
Markus Stange fbd15a9af9 Bug 945131 - Fix DMD build by using const char*. r=njn
DONTBUILD because NPOTB
2013-12-02 23:13:20 +01:00
Catalin Iacob d3ad8de04d Bug 819839 - Part 2 - Print file name and line number if available in DMD report. r=njn 2013-11-29 16:09:42 +01:00
Birunthan Mohanathas fb5799ee50 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Catalin Iacob f88cdc0744 Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn. 2013-06-23 14:03:39 +02:00
Nicholas Nethercote cdf2ae2384 Bug 848560 (part 1) - dmd::ClearReports() needs to check if DMD is running before doing anything to avoid crashing. r=jlebar. 2013-03-25 21:03:47 -07:00
Nicholas Nethercote 227311f516 Bug 841564 - DMD: Fix the second percentage in stack frame records. r=jlebar. DONTBUILD. 2013-02-18 17:02:13 -08:00