Ryan VanderMeulen
3234f2e8e8
Merge m-c to fx-team. a=merge
2015-03-25 13:46:11 -04:00
Alessio Placitelli
2558c3ec2c
Bug 1134279 - Change Telemetry data producers to use the correct recording flags. r=vladan
2015-03-23 04:39:00 +01:00
Trevor Saunders
473f2ceb3c
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Randell Jesup
476c994793
Bug 988698: Ensure threads can't be started during nsThreadManager::Shutdown() r=nfroyd
2015-03-23 16:49:09 -04:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Daniel Holbert
2416fccac8
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Carsten "Tomcat" Book
fea756a473
Merge mozilla-central to fx-team
2015-03-10 14:05:23 +01:00
Mike Hommey
9e66230c01
Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd
2015-03-10 11:10:58 +09:00
Roberto A. Vitillo
1328947d4f
Bug 1133521 - Enable BHR on Beta. r=vladan
2015-03-09 09:58:00 +01:00
Aaron Klotz
c68a3139c4
Bug 1128768: Part 3 - Update BHR to allow for hang annotations; r=vladan
2015-02-18 23:22:01 -07:00
Aaron Klotz
f357a87f9a
Bug 1128768: Part 2 - Refactor hang annotation code; r=vladan
2015-03-09 19:41:24 -06:00
Nathan Froyd
d00f3c3065
Bug 1036515 - narrow the scope of unlocking mMonitor in nsTimerImpl::PostTimerEvents; r=bsmedberg
2015-02-06 16:19:36 -05:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Bill McCloskey
60abd81765
Bug 1122303 - nsIProcess::Run needs to handle EINTR on Mac (r=nfroyd)
2015-01-16 09:57:33 -08:00
Birunthan Mohanathas
e56d4684a9
Bug 1115061 - Ignore calls to BackgroundHangMonitor::Notify{Activity,Wait} when Telemetry is disabled. r=froydnj
2015-01-13 06:41:15 +02:00
Jim Chen
440aa2410a
Bug 1113416 - Don't read stack labels inside hang monitor sighandler; r=nfroyd r=snorp
...
When we're inside the hang monitor's signal handler, we must not read any string labels. Doing so may result in on-demand decompression kicking in on Android, which may result in a deadlock.
2015-01-10 12:41:48 -05:00
Ehsan Akhgari
61fc99a4ee
Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj
2015-01-05 11:25:41 -05:00
Aaron Klotz
d1f86d063e
Bug 1100360: Convert ChromeHang annotations to use UniquePtr; r=vladan
...
--HG--
extra : rebase_source : 5c2ae8645b927c4d73a649beb573cfe2e242c146
2014-12-30 14:52:39 -07:00
Chih-Kai (Patrick) Wang
4ee772690e
Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd
2014-12-18 17:00:39 +08:00
Jim Chen
02fe0889b7
Bug 1109291 - Include better paths for hanging chrome scripts in profile extensions directory; r=snorp r=bsmedberg
...
--HG--
extra : amend_source : 82f1911bd294cc38076bf2bea2113b9e58e4bcc5
2014-12-16 17:09:17 -05:00
Shih-Chiang Chien
1e29b21379
Bug 1102439 - Clean up child-side PBackground before thread shutdown. r=khuey
...
--HG--
extra : transplant_source : %29r%7D%0CP%9F%D6%20%8B%A9%EA%EE%7D%AC%BB%80%1AB%D86
2014-11-20 14:16:36 -08:00
Botond Ballo
79bcb7c0d7
Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
...
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Jim Chen
9e1fa5e6fd
Bug 1091758 - Report full paths for most chrome scripts; r=snorp
2014-11-25 15:35:21 -08:00
Ryan VanderMeulen
b8a5c9614c
Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes.
2014-11-24 17:18:27 -05:00
Patrick Wang (Chih-Kai Wang)
07931f23b8
Bug 970307: fix non-unified build bustage. r=me
2014-11-24 16:36:35 +08:00
Patrick Wang (Chih-Kai Wang)
dc3aa76c24
Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd
2014-11-24 15:21:52 +08:00
Julian Seward
e3c9f4ba39
Bug 1100911 - For MacOS builds running on Valgrind, make ThreadStackHelper::GetStack be a no-op. r=nchen.
...
--HG--
extra : rebase_source : b78df813b0fb211043836f4b8692caf277a2b28f
2014-11-20 20:50:26 +01:00
Nathan Froyd
ea5de74f9c
Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc
2014-11-14 13:12:51 -05:00
Gina Yeh
f1da10aaba
Bug 1089514, Patch 1: Some traced tasks/runnables have record of dispatch, but no records of execution, r=thinker.
...
---
tools/profiler/TracedTaskCommon.cpp | 19 +++++--------------
tools/profiler/TracedTaskCommon.h | 12 ++++++++----
xpcom/threads/TimerThread.cpp | 2 ++
xpcom/threads/nsTimerImpl.cpp | 3 +++
xpcom/threads/nsTimerImpl.h | 2 +-
5 files changed, 19 insertions(+), 19 deletions(-)
2014-11-04 17:42:03 +08:00
Aaron Klotz
e09d542f75
Bug 1087410: Ensure that ChromeHang annotations don't break in e10s; r=jimm
2014-10-22 12:39:27 -06:00
Aaron Klotz
9ec3da1725
Bug 818307: Fix for bad StaticPtr.h include; r=bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : 858b0fb3fd186bc0958cb10e739dd11a102f72d3
2014-10-21 12:18:27 -06:00
Aaron Klotz
13cf73b592
Bug 818307: Part 1 - Add annotation support to ChromeHangs; r=vladan
2014-10-21 11:48:08 -06:00
Tom Schuster
2c3047badc
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Eric Rahm
be71a0b71a
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Bill McCloskey
425175f713
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
147fca0f92
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
f7ae46e404
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Wes Kocher
5000218064
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
4a41e11c21
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Nicholas Nethercote
40038ad251
Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
...
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Ed Morley
26287ab8a9
Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs
2014-10-03 15:06:16 +01:00
Nicholas Nethercote
c436bd02ed
Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
...
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Ben Turner
b5f643fa70
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Georg Fritzsche
f6dc6b0d5b
Bug 1067989 - Unify some more binary search uses. r=waldo
2014-09-17 15:46:24 +02:00
Tom Schuster
325d8fe2cc
Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu
2014-09-23 15:25:31 +02:00
Ben Turner
68190e91be
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
c6ede83e24
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Ehsan Akhgari
3707ac7d98
Bug 1060973 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-09-02 09:50:07 -04:00
David Major
47875f6d80
Bug 1007534 - Part 4: Save a memory report when close to OOM. r=bsmedberg
2014-08-30 17:21:22 +12:00
Ben Turner
4bbb35972c
Bug 1052740 - Cancel LazyIdleThread timer before shutting down its thread, r=bsmedberg.
2014-08-29 11:23:31 -07:00
Birunthan Mohanathas
c15b5fcb49
Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj
2014-08-25 12:17:24 -07:00
Birunthan Mohanathas
51a8149753
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Jim Chen
93c43956e1
Bug 1050440 - Remove repeated js::RunScript frames in ThreadStackHelper; r=snorp
...
--HG--
extra : amend_source : 26d40a84e7a107f328809e4dae94a0bd9db15c8b
2014-08-14 17:17:55 -04:00
Julian Seward
54e8c89a6a
Bug 1050185 - Make ThreadStackHelper::FillThreadContext Valgrind-friendly. r=nchen
2014-08-12 12:15:06 +02:00
Jim Chen
90bab51e77
Bug 1049161 - Fix ThreadStackHelper thread handle permissions on Windows; r=snorp
2014-08-08 18:11:53 -04:00
Bill McCloskey
4d50493b99
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-08-05 21:43:36 -07:00
Ehsan Akhgari
a635ff39b2
Bug 1048280 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:59 -04:00
Jeff Walden
03e3c7dc45
Bug 1047123 - ThreadStackHelper should use UniquePtr<uint8_t[]>, not ScopedDeleteArray. r=jchen
...
--HG--
extra : rebase_source : 11aec2ba0c908a5ad892b832db130a84c562566b
2014-08-01 10:49:37 -07:00
Thinker K.F. Li
29ca5aa9af
Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Bill McCloskey
b8e57e2e8d
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Jim Chen
7e3854c44d
Bug 1034138 - a. Get native stack for permahangs in BHM; r=snorp
2014-07-29 10:33:11 -04:00
Jan Beich
67716c6796
Bug 1045176 - Unbreak build on non-SPS platforms after bug 1016629. r=nchen
2014-07-28 12:29:00 +02:00
Mike Hommey
c1aff765dd
Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE.
2014-07-29 14:50:41 +09:00
Wes Kocher
a60e741c21
Merge m-c to inbound on a CLOSED TREE
2014-07-28 18:51:24 -07:00
Thinker K.F. Li
baf6cd343e
Bug 977026 - part 2: B2G loader. r=khuey,cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Jim Chen
f714037ddf
Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp
2014-07-28 13:30:22 -04:00
Jim Chen
f00d8020b4
Bug 1016629 - e. Implement platform-specific code for filling in context; r=snorp r=jseward
2014-07-28 13:30:21 -04:00
Jim Chen
67403ba315
Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward
2014-07-28 13:30:21 -04:00
Jim Chen
40e8b9ef12
Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp
2014-07-28 13:30:20 -04:00
Jim Chen
37f59a5f25
Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp
2014-07-28 13:30:20 -04:00
Mike Hommey
9ae3c48776
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Carsten "Tomcat" Book
92253e91c1
Backed out changeset 4e4358c01816 (bug 1016629)
2014-07-25 15:59:55 +02:00
Carsten "Tomcat" Book
a02e944081
Backed out changeset 3e869dd7e82a (bug 1016629)
2014-07-25 15:59:52 +02:00
Carsten "Tomcat" Book
be28caabab
Backed out changeset 8d539315541d (bug 1016629)
2014-07-25 15:59:49 +02:00
Carsten "Tomcat" Book
12b71a1f0a
Backed out changeset e008d505335a (bug 1016629)
2014-07-25 15:59:46 +02:00
Carsten "Tomcat" Book
a8027527b2
Backed out changeset 7cae21b839ad (bug 1016629)
2014-07-25 15:59:33 +02:00
Carsten "Tomcat" Book
7211c8dc2e
Backed out changeset b0b4205c25e8 (bug 1034138)
2014-07-25 15:59:22 +02:00
Jim Chen
8168e91f41
Bug 1034138 - a. Get native stack for permahangs in BHM; r=snorp
2014-07-24 22:33:49 -04:00
Jim Chen
07a5dc2fb3
Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp
2014-07-24 22:33:49 -04:00
Jim Chen
afde51d782
Bug 1016629 - e. Implement platform-specific code for filling in context; r=snorp r=jseward
2014-07-24 22:33:47 -04:00
Jim Chen
2c80921a3c
Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward
2014-07-24 22:33:46 -04:00
Jim Chen
d6557c2943
Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp
2014-07-24 22:33:46 -04:00
Jim Chen
87b6c95f6c
Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp
2014-07-24 22:33:45 -04:00
Bill McCloskey
85037d38a2
Bug 1040726 - Urgent message assertion in ProcessNextEvent shouldn't fire off the main thread (r=bsmedberg)
2014-07-18 09:16:15 -07:00
Bill McCloskey
968aab64b3
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-07-17 21:09:45 -07:00
Carsten "Tomcat" Book
c4a6034d4a
Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure
2014-07-17 08:49:57 +02:00
Randell Jesup
5a70db3b94
Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg
2014-07-17 00:38:51 -04:00
Birunthan Mohanathas
eaf5a9b897
Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
...
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
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
Vladan Djeric
2edff56a09
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
c22078a28b
Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa
2014-01-14 10:33:32 -06:00
Jim Chen
f41719baf7
Bug 951431 - Report permanent hangs as transient hangs for now; r=froydnj
2014-01-14 10:33:31 -06:00
Jim Chen
d25a8fad1e
Bug 951431 - Monitor main thread hangs using BackgroundHangMonitor; r=vladan
2014-01-14 10:33:31 -06:00
Olli Pettay
cb3b85db05
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
eaa7491d77
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
8426978810
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]
ac1dd36076
Bug 949749 - Fix up include guard in SyncRunnable.h. r=froydnj
2013-12-12 16:30:59 -08:00
Ryan VanderMeulen
ba670be0c6
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Ehsan Akhgari
d9cd92fa17
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00