Olli Pettay
5cdea8d914
Bug 953435 - Browser hang on Mac if an AfterProcessNextEvent callback tries to spin the event loop, r=nfroyd+smichaud
...
--HG--
extra : rebase_source : e999d852f5f73b18f37ff6a5488cc171c95d9e61
2014-01-09 00:10:06 +02: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
Ben Turner
2e75b22c85
Bug 914762 - Allow nsThread to be subclassed, r=bsmedberg.
...
--HG--
extra : transplant_source : %BD%C5%CB%7Fx%82q%FC%B6%AA%8B%8E%9Fo%BE%82%DE%09h%FF
2013-11-14 10:06:21 -08:00
Byron Campen [:bwc]
20a6dcc607
Bug 949749 - Fix up include guard in SyncRunnable.h. r=froydnj
2013-12-12 16:30:59 -08:00
Ryan VanderMeulen
464d00d6ad
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Ehsan Akhgari
e004ec8ac0
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Ben Turner
3233aad341
Bug 939196 - Allow nsThread to have nested event queues, r=bsmedberg.
...
--HG--
extra : transplant_source : %DE%AF%BF%7E%94%5E%07%CDL%9C%01%28%9F6%8D%90%12%95%06s
2013-11-14 10:06:17 -08:00
Ben Turner
057f369312
Bug 939182 - Integrate the chromium MessageLoop into nsThread, r=bsmedberg.
...
--HG--
extra : transplant_source : %82%D3%C5%E1%A4%E5%00%1C%C3%82%97v%7F%BA%20Ja%AA%C7%E5
2013-10-23 05:01:24 -07:00
Ben Turner
4d2b15f34c
Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
...
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Ryan VanderMeulen
52ab5ad2dc
Merge b2g-inbound to m-c.
2013-12-09 17:26:11 -05:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda
f72fddae43
Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
...
CLOSED TREE
Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)
--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Cervantes Yu
3c52e75f86
Bug 930282: Part 2: Mark PACMan thread and BackgroundHangMonitor thread. r=khuey
2013-12-07 10:28:42 +08:00
Jim Chen
18ca3223c4
Bug 946817 - Don't assert mPseudoStack on B2G. r=BenWa
2013-12-06 09:50:21 -05:00
Cervantes Yu
7ce480d354
Bug 930282: Part 2: Mark PACMan thread and BackgroundHangMonitor thread. r=khuey
2013-10-15 17:43:08 +08:00
Jim Chen
e72ffaed40
Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa
2013-12-04 21:24:28 -05:00
Jacek Caban
e2cd5ba18b
Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2013-12-04 13:19:09 +01:00
Jan Beich
0f2c1d8098
Bug 942488 - Don't report pseudo-stacks without SPS profiler. r=nchen
2013-11-25 09:24:00 -05:00
Jim Chen
58cafde33a
Bug 932865 - Collect thread hang stats in BackgroundHangMonitor; r=froydnj
2013-11-22 14:17:31 -05:00
Jim Chen
eaec8a4510
Bug 932865 - Record inactive thread hang stats inside telemetry; r=vladan
2013-11-22 14:17:31 -05:00
Jim Chen
07b69c15af
Bug 932865 - Add way for telemetry to iterate over active threads; r=froydnj
2013-11-22 14:17:31 -05:00
Jim Chen
c64b0ca7e1
Bug 935092 - Add ThreadStackHelper to get a thread's pesudo-stack; r=BenWa
2013-11-22 14:17:30 -05:00
Jim Chen
75497803c7
Bug 909974 - Stop the monitor thread when the BackgroundHangManager instance is destroyed; r=froydnj
2013-11-22 14:17:30 -05:00
Jim Chen
10b4b19413
Bug 909974 - Let monitor thread detect hangs in addition to permahangs; r=froydnj
2013-11-22 14:17:29 -05:00
Jim Chen
08f53c8320
Bug 909974 - Add a hang monitor for background threads; r=froydnj
2013-11-22 14:17:29 -05: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
Ehsan Akhgari
e19377c4a9
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Trevor Saunders
7d09aa8e5c
bug 931792 - only init sCanaryOutputFD once r=bsmedberg
2013-10-29 16:58:09 -04:00
Christian Holler
3ec0835789
Bug 829617 - Make access to gTimestamp in HangMonitor atomic. r=froydnj
...
--HG--
extra : rebase_source : d40c8aee4dec4da601d451e29eb84c679ec60e9c
2013-10-29 00:29:00 +01:00
Carsten "Tomcat" Book
2a4e473ae4
Merge Mozilla-Inbound to Mozilla-Central
2013-10-25 10:12:00 +02:00
Karl Tomlinson
45ed7d80bd
back out 242bb2279283 from bug 928222 on suspicion of causing bugs 930495 930479 930428
2013-10-25 17:40:39 +13:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Karl Tomlinson
4fdafba88d
b=928222 remove nsThreadPool per-thread event queues r=bsmedberg
...
The way idle nsThreadPool threads wait with a timeout doesn't work well with
shutdown from nsThreadManager.
nsThreadPool doesn't need to use nsIThread for its threads. The nsIThread
interface is not useful for threads running in an nsThreadPool.
The nsIEventTarget on the nsIThreadPool should be used for dispatching events,
not an interface on the individual threads, and the threads don't need an
nsEventQueue because they use the nsEventQueue on the nsThreadPool.
Shutdown of single event threads is easier than running nested event loops for
nsIThreads, avoiding the multilevel nested event loop situations when several
threads finish and are shutdown. While the ThreadFunc is running, a nested
event loop is still used in Shutdown() in case some consumers might need it
and because that is the documented API.
This also simplifies thread creation, avoiding races that could mean there was
temporarily an extra thread or more.
--HG--
extra : transplant_source : %F7%14%16%12%EF%E9%84%19D%26%3C%FE%1F%EC%FF%A3%BAG%C4%F3
2013-10-24 09:31:15 +13:00
Karl Tomlinson
698c365f13
b=926522 remove unecessary shutdown code from ~nsThreadPool r=bsmedberg
...
While threads are processing their initial runnable, which is the nsThreadPool, it will not be
destroyed. The threads remove themselves from mThreads before returning from Run().
This includes removal of changes from bug 900711.
--HG--
extra : transplant_source : %EF%E9%94L%E9d%F5%99b%09r%CB%024%86%88%BA%EFi%29
2013-10-24 07:21:37 +13:00
Ehsan Akhgari
29efae9c22
Bug 928040 - Remove some prtypes.h inclusions from xpcom/; r=bsmedberg
...
--HG--
extra : rebase_source : 2f238320ba8330a27aa986af1146446dcb5d7128
2013-10-18 20:34:57 -04:00
Birunthan Mohanathas
6b14b1ac9d
Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan
2013-10-10 16:42:16 -04:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Adam Roach [:abr]
5868f1962b
Bug 842549 - Part 5: Fix slots cleanup when VcmSIPCCBinding is destroyed r=ekr
2013-09-25 19:58:16 -05:00
Ehsan Akhgari
c8d51e9ce2
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Trevor Saunders
5139f710e0
bug 915566 - rm makefiles in xpcom/ r=glandium
2013-09-12 08:15:51 -04:00
Chris Peterson
39725a5322
Bug 905221 - sizeof(nsEventQueue::Page) should be a power of two to avoid heap allocation slop. r=bsmedberg
2013-09-02 19:30:19 -07:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Gabriele Svelto
91c1a25d52
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
47f9af7214
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00