Commit Graph

342 Commits

Author SHA1 Message Date
JW Wang
bd05263ac6 Bug 1033121 - Release |mTimer| in nsTimerEvent::Run() instead of ~nsTimerEvent() to avoid race. r=bz 2014-07-10 11:23:02 -04:00
Jim Chen
6f0011b522 Bug 1016441 - Switch to using real-time signal in ThreadStackHelper; r=snorp 2014-07-08 14:53:17 -04:00
Benoit Jacob
4f7c84d3c3 Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg 2014-07-04 06:34:15 -04:00
Ryan VanderMeulen
133741f11d Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
e3b2af1da3 Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg 2014-07-03 14:53:24 -04:00
Birunthan Mohanathas
2bf30da924 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Shihua Zheng
4c19e620cf Bug 1024027 - Cannot safely dispatch to nsStreamTransportService from a non-main thread. r=bsmedberg,mcmanus 2014-06-21 03:26:43 -07:00
Byron Campen [:bwc]
a7cf8fd074 Bug 1024765 - Part 2: Make refcounting logic around PostTimerEvent more explicit. r=bz 2014-06-16 14:13:04 -07:00
Jonathan Watt
966eacef02 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Jim Chen
611181e256 Bug 1023461 - Record filename and line number for chrome JS entries; r=snorp 2014-06-20 14:28:10 -04:00
Jim Chen
82f20fa52e Bug 1023461 - Add HangStack class to support internal string buffer; r=vladan 2014-06-20 14:28:10 -04:00
Jim Chen
da8e9d8b4f Bug 1023461 - Remove temporary stack buffer in ThreadStackHelper; r=snorp 2014-06-20 14:28:10 -04:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benoit Jacob
e1501eec81 Bug 1027251 - Fix or whitelist dangerous public destructors in xpcom/ - r=ehsan 2014-06-18 22:29:00 -04:00
Jim Chen
e9c92ac063 Bug 1013326 - Distinguish chrome and content scripts in pseudostack; r=snorp 2014-06-06 18:39:40 -04:00
Robert O'Callahan
915297325e Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Birunthan Mohanathas
c948872318 Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
--HG--
extra : rebase_source : 1f6f179f44db87f55ebfe5d855192adfad7d1b74
2014-05-27 10:15:35 +03:00
Kyle Huey
2402c44038 Bug 996132: Make allocations in the event queue infallible. r=bsmedberg 2014-05-23 12:53:14 -07:00
Daniel Holbert
7d5d04d502 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
Birunthan Mohanathas
504b581650 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
Shelly Lin
2f7ea42920 Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Ehsan Akhgari
14fd6e9367 Bug 999883 - Make BackgroundHangMonitor not use mozilla::RefCounted; r=froydnj 2014-04-23 09:45:56 -04:00
Randell Jesup
37a4c0e313 Bug 998880: don't busy-wait in nsThread waiting for shutdown or DISPATCH_SYNC r=bsmedberg 2014-04-22 15:34:24 -04:00
Jim Chen
adaf5d0d6d Bug 985155 - Add signal trampoline on ARM Linux to work around kernel bug. r=snorp 2014-04-21 17:15:44 -04:00
Kyle Huey
c8e649664b Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Ryan VanderMeulen
98cf3141ca Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
3fb3aae2f9 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Aaron Klotz
7bd0ac22b6 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Ryan VanderMeulen
4be6b97fe2 Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Benjamin Smedberg
4766f8c541 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
--HG--
extra : rebase_source : 43f70e2c1c3207f37ba0789245958cb0c34187f6
2014-04-03 14:55:42 -04:00
Shu-yu Guo
58c41cce91 Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop) 2014-04-03 19:29:40 -07:00
Ehsan Akhgari
345b35a6e8 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Jim Chen
3d7c690f68 Bug 979069 - Disable BackgroundHangMonitor for debug builds. r=froydnj 2014-03-13 12:17:42 -04:00
Ben Turner
6bfb6c5bc4 Bug 982146 - Clean up SyncRunnable wait code, r=bsmedberg. 2014-03-11 09:42:58 -07:00
Robert O'Callahan
f819b902f5 Bug 955888. Part 8: In chaos mode, vary timer duration (while respecting order of firing). r=bz
We also ensure that the mean timer duration is unchanged.

--HG--
extra : rebase_source : 21a43c2c6a0f677263464b8a23c5f605e36b9d06
2014-03-03 18:12:51 +13:00
Robert O'Callahan
dfca86f550 Bug 955888. Part 3: In chaos mode, give threads randomly chosen priorities, and pin some threads to CPU 0 so they compete for CPU. r=bsmedberg
--HG--
extra : rebase_source : 77201ddade499250cbc81b6a582ce29a970c4a2a
2014-03-03 18:12:27 +13:00
Robert O'Callahan
a22a728d85 Bug 955888. Part 2: In chaos mode, sometimes yield just before dispatching an XPCOM event. r=bsmedberg
This gives other threads a chance to beat us in a race to dispatch an event to
this event queue.

--HG--
extra : rebase_source : ca19bb52281837762bce43481b3393cd2ecf6679
2014-03-03 18:12:23 +13:00
Jim Chen
2ea1dd9b27 Bug 978262 - Ignore duplicate frames when getting BHR stack. r=froydnj 2014-03-05 08:47:46 -05:00
Ehsan Akhgari
790a3e8ead Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 23:07:24 -05:00
Daniel Holbert
ad449f00f4 Bug 974300: Mark /xpcom/threads as FAIL_ON_WARNINGS. r=froydnj 2014-02-19 08:36:37 -08:00
Chris Peterson
fd01fbe123 Bug 973795 - Fix -Wreorder and -Wsign-compare warnings in nsThreadPool.cpp. r=bsmedberg 2014-02-17 23:11:56 -08:00
Chris Pearce
5209886eff Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg 2014-02-18 11:53:53 +13:00
Chris Pearce
9bc6df1d23 Bug 968016 - Implement nsThreadPool::IsOnCurrentThread() to return true when the current thread is in the thread pool. r=bsmedberg
This is so that we can assert that media decode threads are in the decode thread pool.
2014-02-18 11:53:52 +13:00
Jim Chen
69c0fcda4e Bug 970358 - Disable BackgroundHangMonitor on release builds. r=froydnj 2014-02-12 10:24:21 -05:00
Jeff Walden
6e04ad5a6a Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in xpcom/. r=froydnj
--HG--
extra : rebase_source : 4b4e47e4246c3764f1b8d50a308b7a717c53a865
2014-02-06 22:05:24 -08:00
Olli Pettay
7fb9d19abe Backout Bug 953435 to fix bug 959281, a=backout 2014-02-02 20:12:27 +02:00
Robert O'Callahan
dc7e890088 Bug 966231. Add comment. 2014-02-01 14:14:00 +13:00
Robert O'Callahan
e9325b5761 Bug 966231. Allow blocking in a nested event loop even if the thread is being shut down. r=bsmedberg
--HG--
extra : rebase_source : 45654f14cb9a47b285b8491304de71a762132ac8
2014-02-01 13:42:24 +13:00
Blake Kaplan
230ff3847a Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg
--HG--
extra : rebase_source : 82a0f7349df90a36dc4580fcaa121d80d0aa94a1
2014-01-31 15:02:30 -08:00