Commit Graph

41 Commits

Author SHA1 Message Date
Benoit Girard
ef41ed062b Bug 1172216 - Move nsStackwalk to mozglue. r=glandium 2015-06-10 16:32:45 -04:00
Aaron Klotz
74bee3416b Bug 1128768: Part 2 - Refactor hang annotation code; r=vladan 2015-03-09 19:41:24 -06:00
Aaron Klotz
f7fe5fbcde Bug 1100360: Convert ChromeHang annotations to use UniquePtr; r=vladan 2014-12-30 14:52:39 -07:00
Aaron Klotz
88ecdef21b Bug 1087410: Ensure that ChromeHang annotations don't break in e10s; r=jimm 2014-10-22 12:39:27 -06:00
Aaron Klotz
5a6fde6e02 Bug 818307: Fix for bad StaticPtr.h include; r=bustage on a CLOSED TREE 2014-10-21 12:18:27 -06:00
Aaron Klotz
bd3c976be2 Bug 818307: Part 1 - Add annotation support to ChromeHangs; r=vladan 2014-10-21 11:48:08 -06: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
Birunthan Mohanathas
8a4a4c8465 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
a108f37fc2 Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj 2014-05-27 10:15:35 +03:00
Daniel Holbert
a441a29121 Bug 1008083: Guard variable 'kTelemetryPrefName' with the same ifdef that its usages are guarded by. r=ehsan 2014-05-09 10:55:29 -07:00
Benjamin Smedberg
c4fb36e675 Bug 986582 - Get rid of the toolkit.telemetry.enabledPreRelease pref and make the toolkit.telemetry.enabled pref do the right thing for beta users who are testing a final release build, r=rnewman 2014-04-03 14:55:42 -04:00
Vladan Djeric
5c18d1cabc Bug 863122 - Add time since launch and time since system startup to chromehang report. r=nfroyd 2014-01-27 13:47:00 -08:00
Jim Chen
e04ed47a12 Bug 951431 - Monitor main thread hangs using BackgroundHangMonitor; r=vladan 2014-01-14 10:33:31 -06:00
Ehsan Akhgari
3e65edba24 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Christian Holler
2ee8f8abb6 Bug 829617 - Make access to gTimestamp in HangMonitor atomic. r=froydnj 2013-10-29 00:29:00 +01:00
Birunthan Mohanathas
9c97f8fe32 Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan 2013-10-10 16:42:16 -04:00
Vladan Djeric
ba8028961c Bug 867313: 'crash on hang' doesn't always trigger. r=ehsan 2013-04-30 18:39:16 -04:00
Chris Peterson
6031ca870d Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg 2013-02-07 21:54:20 -08:00
Nicholas Nethercote
17d30f9a25 Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Theo Chevalier
31e719ad8e Bug 699806 - Enable Telemetry by default on Nightly and Aurora channels (Desktop), r=mak77 2012-12-08 18:41:23 +01:00
Bas Schouten
c1daf2b274 Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Rafael Ávila de Espíndola
34fcdf0eab Bug 808699 - Change the wire format for hang reports. r=vladan. 2012-11-20 09:45:14 -05:00
Jacek Caban
ea48bba016 Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (xpcom/threads part) r=ehsan 2012-10-04 10:30:03 +02:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola
2da5ebd162 Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan. 2012-08-21 17:14:38 -04:00
Ehsan Akhgari
b4fb537e72 Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD) 2012-07-10 19:12:40 -04:00
Vladan Djeric
197c3bdda9 Bug 772643: Don't allocate memory in hang monitor while a thread is suspended. r=ehsan 2012-07-10 18:32:58 -04:00
Benoit Girard
c3fd11178b Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron 2012-06-27 16:08:21 -04:00
Vladan Djeric
d8184b3c2e Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan 2012-06-20 19:20:24 -04:00
Honza Bambas
1415b7fdef Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Brian R. Bondy
99aa77b2d2 Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras 2012-05-30 13:25:09 -04:00
Brian R. Bondy
6fbe5ec2d7 Bug 710935 - Measure lag in handling user input. r=bsmedberg 2012-05-25 09:22:19 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Veeraya Pupatwibul
054cc031c2 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Vladan Djeric
3d2d534acc Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Landry Breuil
6d561d9c0b Bug 735422: Don't use shared-libraries.h and SharedLibraryInfo structs where SPS is not enabled; r=ehsan 2012-03-14 22:57:04 -04:00
Vladan Djeric
851a0eeba4 Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Benjamin Smedberg
1d45aa9aca Add MOZ_CRASHREPORTER ifdefs to the patch for bug 429592. r=captain bustage 2011-11-04 15:13:58 -04:00
Benjamin Smedberg
f509b45b8f Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent 2011-10-12 13:52:26 -04:00