Commit Graph
1179 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book f4f3d56e3d merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Kyle Machulis 098c8da606 Bug 1343337 - Remove IsDispatchReliable check from AbstractThread; r=bholley
MozReview-Commit-ID: JxnyAZpzIcV
2017-02-28 20:34:37 -08:00
Kyle Machulis 3eb378a2d4 Bug 1343335 - Add asserts to check for null AbstractThread targets in MozPromise; r=bholley
AbstractThread::GetCurrent() can return null if a thread isn't a
default AbstractThread (MainThread, etc). This doesn't get caught in
MozPromise until we try to check for reliability of dispatching on the
thread. Adding asserts to make things clearer on crashes.

MozReview-Commit-ID: AQJwpdTUiHZ
2017-02-28 20:34:37 -08:00
JW Wang febe12b8a1 Bug 1342831 - devirtualize AssertIsDead(). r=gerald
MozReview-Commit-ID: 9dNDiTfwlLR
2017-02-25 22:56:49 +08:00
Mike Conley 6b1b0329c3 Bug 1312883 - Use MozStackWalk to gather native stacks on Windows. r=gfritzsche,jchen,liuche
MozReview-Commit-ID: A2aZAL03FG2
2017-02-16 12:05:46 -05:00
Mike Conley 872fc93e83 Bug 1312883 - Remove all thread context processing from ThreadStackHelper. r=jchen
MozReview-Commit-ID: LpMSf6bSLy8
2017-02-17 17:13:57 -05:00
Mike Conley a2a69728c6 Bug 1312883 - MOZ_THREADSTACKHELPER_NATIVE should only be true on Windows. r=jchen
MozReview-Commit-ID: 3gf5FcnUUwa
2017-02-10 10:35:44 -05:00
Sebastian Hengst 0f11349b9f Backed out changeset 42f0a217197d (bug 1312883) for build bustage Windows due to unknown identifiers. r=backout on a CLOSED TREE 2017-02-24 14:26:08 +01:00
Sebastian Hengst d2fda297ce Backed out changeset d6b3328c9573 (bug 1312883) 2017-02-24 14:25:20 +01:00
Sebastian Hengst 08f2233e92 Backed out changeset fddfc0739043 (bug 1312883) 2017-02-24 14:25:15 +01:00
Mike Conley a194e7116b Bug 1312883 - Use MozStackWalk to gather native stacks on Windows. r=gfritzsche,jchen,liuche
MozReview-Commit-ID: A2aZAL03FG2
2017-02-16 12:05:46 -05:00
Mike Conley 39eb226f83 Bug 1312883 - Remove all thread context processing from ThreadStackHelper. r=jchen
MozReview-Commit-ID: LpMSf6bSLy8
2017-02-17 17:13:57 -05:00
Mike Conley 688bbbe5d3 Bug 1312883 - MOZ_THREADSTACKHELPER_NATIVE should only be true on Windows. r=jchen
MozReview-Commit-ID: 3gf5FcnUUwa
2017-02-10 10:35:44 -05:00
Julian Seward eb67afc06a Bug 1341255 - Profiler tidyups: remove StackEntry, rename ProfileEntry to ProfileBufferEntry (part 1: remove StackEntry). r=n.nethercote. 2017-02-23 23:04:13 +01:00
Iris Hsiao 759114f782 Backed out changeset e3df33f21fab (bug 1342831) for test leak 2017-02-27 17:13:25 +08:00
JW Wang 0ce00e5d6c Bug 1342831 - devirtualize AssertIsDead(). r=gerald
MozReview-Commit-ID: 9dNDiTfwlLR
2017-02-25 22:56:49 +08:00
Wes Kocher 64ccd9559b Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Jan de Mooij c11a4f566a Bug 1337499 - Take the Win64 stackwalk lock in WalkStackMain64 to avoid deadlocks. r=mstange 2017-02-17 10:51:11 +01:00
Carsten "Tomcat" Book b20d301621 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Bill McCloskey 2c8bba3541 Bug 1339289 - Make sure labeled runnables have names (r=ehsan)
MozReview-Commit-ID: C6w8Q4NPBtt
2017-02-15 12:30:01 -08:00
Bill McCloskey 54da76be6b Bug 1339289 - Give names to a lot of common timers (r=ehsan)
MozReview-Commit-ID: IMsv5bkyjBL
2017-02-15 12:30:01 -08:00
Bill McCloskey f79edeabc9 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Nicholas Nethercote 401f105d67 Bug 1339327 (part 5) - Rename some profiler functions related to sleeping. r=mstange.
The new names make it clearer that these actions apply to just one thread.

- profiler_sleep_start() --> profiler_thread_sleep()
- profiler_sleep_end()   --> profiler_thread_wake()
- profiler_is_sleeping() --> profiler_thread_is_sleeping()
- GeckoProfilerSleepRAII --> GeckoProfilerThreadSleepRAII
- GeckoProfilerWakeRAII  --> GeckoProfilerThreadWakeRAII
2017-02-15 14:26:23 +11:00
Jeff Walden d51e1f4d84 Bug 1338374 - Use alignas/alignof to define Variant's internal raw storage. r=froydnj 2017-01-30 15:56:05 -08:00
JW Wang f35d6647a3 Bug 1339677. Part 4 - check if mMutex.mLock is tampered. r=gerald
MozReview-Commit-ID: H37EnCF0V4w
2017-02-15 16:42:26 +08:00
JW Wang 8c4e92b11e Bug 1339677. Part 3 - add some sanity checks. r=gerald
MozReview-Commit-ID: AXq9KQGKGni
2017-02-16 11:43:46 +08:00
JW Wang cd10088850 Bug 1339677. Part 2 - some code cleanup and remove unnecessary scope qualifiers. r=gerald
MozReview-Commit-ID: 5h7Mv5joGHy
2017-01-24 16:24:10 +08:00
JW Wang 31387caca5 Bug 1339677. Part 1 - assert DoResolveOrReject() is called on the target thread and use stronger assertions. r=gerald
MozReview-Commit-ID: I1wdNfjehTN
2017-01-24 16:13:23 +08:00
Tom Tromey 950408aae1 Bug 1060419 - make nsEnvironment.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: 9GnlfmGm0LH
2016-12-09 10:53:59 -10:00
Bill McCloskey 0930faba60 Bug 1337575 - Use SystemGroup for GC/CC (r=mccr8)
MozReview-Commit-ID: 9vLuFnuHS9U
2017-02-13 17:02:59 -08:00
Bill McCloskey 3fdff512cf Bug 1337537 - Assert that runnables labeled with a given TabGroup never touch other TabGroups (r=ehsan)
MozReview-Commit-ID: sOdn9e5f57
2017-02-13 17:02:57 -08:00
Bill McCloskey b0bba0c768 Bug 1337537 - Make a SystemGroup singleton (r=ehsan)
MozReview-Commit-ID: Jnwrr49daeM
2017-02-13 17:02:52 -08:00
Bill McCloskey eefb38fd1b Bug 1337537 - Move some TabGroup code to ValidatingDispatcher (r=ehsan)
MozReview-Commit-ID: EUqZKx2rAOt
2017-02-13 17:02:50 -08:00
Bill McCloskey 4a1cd90b0e Bug 1337537 - Move Dispatcher.{cpp,h} to xpcom/threads (r=froydnj)
MozReview-Commit-ID: AYyKynUv4bX
2017-02-13 17:02:48 -08:00
Bevis Tseng edd5c0fc89 Bug 1333997 - Part 2: Overload the NewRunnable APIs with a 'Name' as 1st Parameter. r=froydnj 2017-02-07 13:02:57 +08:00
Bevis Tseng 031032e67d Bug 1333997 - Part 1: Add Type Aliases for NewRunnable Templates. r=froydnj 2017-02-06 18:08:01 +08:00
Byron Campen [:bwc] c6db5a598c Bug 1328643: Add some locking to prevent races caused by Cancel/Init from threads other than the target. r=froydnj
MozReview-Commit-ID: FdAPTGDNKup
2017-01-11 13:59:19 -06:00
Andrew McCreight 491517994e Bug 1333974, part 1 - Add new API for releasing on main thread using the system group. r=froydnj
MozReview-Commit-ID: KP71tgpaXaY
2017-01-31 11:35:10 -08:00
Chris Peterson ec64a5b9f4 Bug 1331171 - Part 3: Remove xpcom checks for Windows Vista. r=froydnj
Also remove the #includes of some unused header files.

MozReview-Commit-ID: 6mRoIazEA3j
2017-01-12 01:13:55 -08:00
Bill McCloskey 46e393e792 Bug 1332494 - Add SystemGroup class similar to TabGroup/DocGroup (r=froydnj)
MozReview-Commit-ID: ApxMkd5zEQ5
2017-01-26 14:45:58 -08:00
Bill McCloskey be49fc768f Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Nicholas Nethercote d2434a7cc6 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00
Bill McCloskey 3955b64bb8 Bug 1331804 - Measure runnable times keyed by name for telemetry (r=ehsan,bsmedberg)
MozReview-Commit-ID: FQmJKwEgBdv
2017-01-24 16:34:37 -08:00
Bill McCloskey 128d88fdd9 Bug 1331804 - Anonymize nsITimer runnable names (r=njn)
MozReview-Commit-ID: 5qoN9BKkH18
2017-01-24 16:34:37 -08:00
Bill McCloskey 1c354bd11c Bug 1331804 - Name each runnable from the ThrottledEventQueue queue (r=bkelly)
MozReview-Commit-ID: GRpBjmcKoah
2017-01-24 16:34:37 -08:00
Bill McCloskey 041f38ea0c Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 16:34:37 -08:00
Bill McCloskey a82c8d5566 Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Wes Kocher 9229178a70 Merge inbound to central, a=merge
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Benjamin Smedberg 9fafb93633 Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj
MozReview-Commit-ID: kDBGvlYjyW
2017-01-20 14:13:57 -05:00
Carsten "Tomcat" Book a2c1a9a7b0 Merge mozilla-central to autoland 2017-01-23 11:42:26 +01:00