Michael Layzell
7524d2bb65
Bug 1168167 - Mark LazyIdleThread::mIdleObserver with MOZ_UNSAFE_REF. r=froydnj
...
--HG--
extra : rebase_source : 59331d49e110ca59cfd2c396c5bac838bced7456
2015-05-29 06:56:00 -04:00
Michael Layzell
ab4019ac55
Bug 1168170 - Mark reference counted members of nsTimerImpl::mCallback as MOZ_OWNING_REF. r=froydnj
2015-05-28 10:14:00 -04:00
Ryan VanderMeulen
8f6f16604c
Merge inbound to m-c. a=merge
2015-05-22 14:02:47 -04:00
Cervantes Yu
55152ad9d9
Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
2015-05-19 14:31:25 +08:00
Cervantes Yu
910ee84a4d
Backout change b371db089894 (bug 1138620
) due to backout of bug 970307.
2015-05-19 11:26:24 +08:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Jim Chen
bb5a648426
Bug 1164090
- Check for Windows path separator in BHR file name; r=snorp
2015-05-19 11:27:18 -04:00
JW Wang
40a8b752c7
Bug 1161405. Part 1 - improve parallelism of nsThreadPool by taking the number of pending events into account when spawning a new thread. r=nfroyd.
2015-05-09 07:32:30 +08:00
Eric Rahm
73ecb58158
Bug 1162242 - Part 3: Clean up usage of PR_LOG_TEST. r=froydnj
...
Removes redundant combinations of PR_LOG_TEST and PR_LOG.
2015-05-07 09:43:37 -07:00
Eric Rahm
6417f13e09
Bug 1162242 - Part 2: Remove DEBUG_TIMERS. r=froydnj
...
Now that PR_LOGGING is always defined DEBUG_TIMERS will always be set. It can
now be removed.
2015-05-07 09:43:36 -07:00
Eric Rahm
645b42df1f
Bug 1162242 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:35 -07:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Nathan Froyd
ddbb44d13f
Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
...
The current name reads to me like a boolean variable, even though it's
actually a counter. Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Chih-Kai (Patrick) Wang ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
e4803e8cad
Bug 1138620: Allow external binary modules to ignore thread status monitoring for Nuwa process stabilization. r=nfroyd
2015-04-24 14:11:10 +08:00
Nathan Froyd
7fbbaf9fde
Bug 1156407 - part 3 - get rid of NS_NewTimer; r=mccr8
...
It's never called. We could replace a few do_CreateInstance/InitWithFuncCallback
pairs with NS_NewTimer, but I don't think it's worth doing that ahead of a "stop
using do_CreateInstance for all timer instances" effort.
2015-04-20 14:21:01 -04:00
Nathan Froyd
8af565d0f7
Bug 1156407 - part 2 - make CALLBACK_TYPE enum a private implementation detail of nsTimerImpl; r=mccr8
...
The CALLBACK_TYPE enum doesn't need to be exposed outside of
nsTimerImpl, so move it inside the class definition. While we're doing
this, let's C++-ify the enum definition and give the members
non-shouting names.
2015-04-20 14:08:57 -04:00
Nathan Froyd
880dd42a14
Bug 1156407 - part 1 - use static_assert instead of PR_STATIC_ASSERT; r=mccr8
...
We have better, C++-ier ways of doing compile-time assertions now. Fold in the
nsTSubstring.cpp change in passing, since mccr8 suggested it in his review.
2015-04-20 13:56:46 -04:00
Randall Barker
c236b48231
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
...
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Andrew McCreight
98776f80a0
Bug 1149807 - Remove some unused nsIProgrammingLanguage.h includes. r=froydnj
2015-04-02 14:54:46 -07:00
Atif Iqbal
ce96843aa0
Bug 1150197 - Remove useless null checks after allocating memory with new from xpcom/threads/; r=froydnj
2015-04-02 14:57:46 -04:00
Andrew McCreight
2f48802ae0
Bug 1147572 - Remove implementation language field from DOM class info. r=jst
2015-03-30 10:45:39 -07:00
Andrew McCreight
46dfeaba0b
Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley
2015-03-29 07:52:54 -07:00
Ryan VanderMeulen
86983a84a5
Merge m-c to fx-team. a=merge
2015-03-25 13:46:11 -04:00
Alessio Placitelli
d19436f3f5
Bug 1134279 - Change Telemetry data producers to use the correct recording flags. r=vladan
2015-03-23 04:39:00 +01:00
Trevor Saunders
d5851ef31c
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Randell Jesup
b65df53174
Bug 988698: Ensure threads can't be started during nsThreadManager::Shutdown() r=nfroyd
2015-03-23 16:49:09 -04:00
Ehsan Akhgari
883849ee32
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
082fd9cd7f
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
58a19cdf9c
Merge mozilla-central to fx-team
2015-03-10 14:05:23 +01:00
Mike Hommey
ad8f212161
Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd
2015-03-10 11:10:58 +09:00
Roberto A. Vitillo
5820c9e446
Bug 1133521 - Enable BHR on Beta. r=vladan
2015-03-09 09:58:00 +01:00
Aaron Klotz
05bbe4e32d
Bug 1128768: Part 3 - Update BHR to allow for hang annotations; r=vladan
...
--HG--
extra : rebase_source : ba653b0f314e687c4c7a442291888a538a8c68d1
2015-02-18 23:22:01 -07:00
Aaron Klotz
0f6fdabeee
Bug 1128768: Part 2 - Refactor hang annotation code; r=vladan
...
--HG--
extra : rebase_source : f492ff9a5aa78afd2121afc8fd18c08b6831cdc3
2015-03-09 19:41:24 -06:00
Nathan Froyd
87e4b4c13f
Bug 1036515 - narrow the scope of unlocking mMonitor in nsTimerImpl::PostTimerEvents; r=bsmedberg
2015-02-06 16:19:36 -05:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Bill McCloskey
3337f70861
Bug 1122303 - nsIProcess::Run needs to handle EINTR on Mac (r=nfroyd)
2015-01-16 09:57:33 -08:00
Birunthan Mohanathas
b988734748
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
c2e9cb1c30
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
f32bb086bc
Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj
2015-01-05 11:25:41 -05:00
Aaron Klotz
38d0922abd
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
fcb6d29268
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
3794dbb5b2
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
7bdce1f5fc
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
79d427447d
Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
...
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Jim Chen
f6e8fa1fed
Bug 1091758 - Report full paths for most chrome scripts; r=snorp
2014-11-25 15:35:21 -08:00
Ryan VanderMeulen
fb8d05cd59
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)
19f6d563c5
Bug 970307: fix non-unified build bustage. r=me
2014-11-24 16:36:35 +08:00
Patrick Wang (Chih-Kai Wang)
c0da861aa4
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
89afba7ee7
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
970fc0e8a3
Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc
2014-11-14 13:12:51 -05:00
Gina Yeh
d33f31e6be
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
6ed726f19a
Bug 1087410: Ensure that ChromeHang annotations don't break in e10s; r=jimm
2014-10-22 12:39:27 -06:00
Aaron Klotz
74aaf2677f
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
8f1189a221
Bug 818307: Part 1 - Add annotation support to ChromeHangs; r=vladan
2014-10-21 11:48:08 -06:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Eric Rahm
8d715a7fe4
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Bill McCloskey
2ab547d3ab
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
4985d0ee76
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
281cb8db91
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
445e1466e9
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
80d2b8bba6
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
2eb56008e2
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
2d0f9579b5
Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs
2014-10-03 15:06:16 +01:00
Nicholas Nethercote
c9c64de53c
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
d081140cb0
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Georg Fritzsche
83f0c5bfb7
Bug 1067989 - Unify some more binary search uses. r=waldo
2014-09-17 15:46:24 +02:00
Tom Schuster
7782444d76
Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu
2014-09-23 15:25:31 +02:00
Ben Turner
46d101f40c
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
1a91d40956
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
6f002e45f7
Bug 1060973 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-09-02 09:50:07 -04:00
David Major
0509508150
Bug 1007534 - Part 4: Save a memory report when close to OOM. r=bsmedberg
2014-08-30 17:21:22 +12:00
Ben Turner
bbf77ff477
Bug 1052740 - Cancel LazyIdleThread timer before shutting down its thread, r=bsmedberg.
2014-08-29 11:23:31 -07:00
Birunthan Mohanathas
16471161bb
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
80ef08ccd8
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
0900e9257a
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
39acca7bb0
Bug 1050185 - Make ThreadStackHelper::FillThreadContext Valgrind-friendly. r=nchen
2014-08-12 12:15:06 +02:00
Jim Chen
3fb637553d
Bug 1049161 - Fix ThreadStackHelper thread handle permissions on Windows; r=snorp
2014-08-08 18:11:53 -04:00
Bill McCloskey
024b67429e
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
3a6aef3468
Bug 1048280 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:59 -04:00
Jeff Walden
3815e2fdb1
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
e9dc84b5a1
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
8bcf32b6ed
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Jim Chen
f2be2c8b3c
Bug 1034138 - a. Get native stack for permahangs in BHM; r=snorp
2014-07-29 10:33:11 -04:00
Jan Beich
85f650feb1
Bug 1045176 - Unbreak build on non-SPS platforms after bug 1016629. r=nchen
2014-07-28 12:29:00 +02:00
Mike Hommey
9424087517
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
1ce0c3e306
Merge m-c to inbound on a CLOSED TREE
2014-07-28 18:51:24 -07:00
Thinker K.F. Li
5a9232dbfc
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
ece64c8aec
Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp
2014-07-28 13:30:22 -04:00
Jim Chen
357f3bc197
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
b0aade637f
Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward
2014-07-28 13:30:21 -04:00
Jim Chen
500bc7575f
Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp
2014-07-28 13:30:20 -04:00
Jim Chen
e15783a41a
Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp
2014-07-28 13:30:20 -04:00
Mike Hommey
bc5d6801bb
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
527ca8966a
Backed out changeset 4e4358c01816 (bug 1016629)
2014-07-25 15:59:55 +02:00
Carsten "Tomcat" Book
289ad915a3
Backed out changeset 3e869dd7e82a (bug 1016629)
2014-07-25 15:59:52 +02:00
Carsten "Tomcat" Book
8d17345642
Backed out changeset 8d539315541d (bug 1016629)
2014-07-25 15:59:49 +02:00
Carsten "Tomcat" Book
99baad649a
Backed out changeset e008d505335a (bug 1016629)
2014-07-25 15:59:46 +02:00
Carsten "Tomcat" Book
f906a9a939
Backed out changeset 7cae21b839ad (bug 1016629)
2014-07-25 15:59:33 +02:00
Carsten "Tomcat" Book
e84a3adc33
Backed out changeset b0b4205c25e8 (bug 1034138)
2014-07-25 15:59:22 +02:00
Jim Chen
9a028cccff
Bug 1034138 - a. Get native stack for permahangs in BHM; r=snorp
2014-07-24 22:33:49 -04:00
Jim Chen
663b6b2b0d
Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp
2014-07-24 22:33:49 -04:00
Jim Chen
11451edf94
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
4ff9846023
Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward
2014-07-24 22:33:46 -04:00
Jim Chen
bfe0382b88
Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp
2014-07-24 22:33:46 -04:00
Jim Chen
a1a10edac9
Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp
2014-07-24 22:33:45 -04:00
Bill McCloskey
d0e49be19d
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
c87bbeeeda
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
3bf8efc62d
Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure
2014-07-17 08:49:57 +02:00
Randell Jesup
7385a3fcfb
Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg
2014-07-17 00:38:51 -04:00
Birunthan Mohanathas
a4ac396211
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
1b43816ed9
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
e31d6feea5
Bug 1016441 - Switch to using real-time signal in ThreadStackHelper; r=snorp
2014-07-08 14:53:17 -04:00
Benoit Jacob
e3ac914b37
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
6d9424856d
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
0e68107d00
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
c9fb2c0d48
Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj
2014-06-30 08:39:45 -07:00
Shihua Zheng
6d6dffa411
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]
123de17a5e
Bug 1024765
- Part 2: Make refcounting logic around PostTimerEvent more explicit. r=bz
2014-06-16 14:13:04 -07:00
Jonathan Watt
b73bc43c94
Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron
2014-06-22 23:02:59 +01:00
Jim Chen
67f91b2230
Bug 1023461 - Record filename and line number for chrome JS entries; r=snorp
2014-06-20 14:28:10 -04:00
Jim Chen
be24a3cd37
Bug 1023461 - Add HangStack class to support internal string buffer; r=vladan
2014-06-20 14:28:10 -04:00
Jim Chen
20218b8f58
Bug 1023461 - Remove temporary stack buffer in ThreadStackHelper; r=snorp
2014-06-20 14:28:10 -04:00
Birunthan Mohanathas
51ba75d135
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Benoit Jacob
12f098cbf9
Bug 1027251 - Fix or whitelist dangerous public destructors in xpcom/ - r=ehsan
2014-06-18 22:29:00 -04:00
Jim Chen
28a5e23304
Bug 1013326 - Distinguish chrome and content scripts in pseudostack; r=snorp
2014-06-06 18:39:40 -04:00
Robert O'Callahan
cbb8fdebfc
Bug 1015664
. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Victor Porof
9ce7e9c089
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Birunthan Mohanathas
67dad11bae
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
7af104c03a
Bug 996132: Make allocations in the event queue infallible. r=bsmedberg
2014-05-23 12:53:14 -07:00
Daniel Holbert
2ae93a0154
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
5f1fde8824
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
6437f8163e
Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey.
2014-03-27 16:49:06 +08:00
Ehsan Akhgari
94aaa2a2c1
Bug 999883 - Make BackgroundHangMonitor not use mozilla::RefCounted; r=froydnj
2014-04-23 09:45:56 -04:00
Randell Jesup
3745474f9b
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
dd74024045
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
2c8f15bb95
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
d3859c597c
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
74215b6cbb
Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:25 -07:00
Aaron Klotz
025fed58f4
Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj
2014-04-08 22:57:52 -06:00
Ryan VanderMeulen
ec69e2de4b
Merge inbound to m-c.
2014-04-04 14:51:38 -04:00
Benjamin Smedberg
efdee4270b
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
82fe2098a8
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
186680d83a
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
eff3a6e969
Bug 979069 - Disable BackgroundHangMonitor for debug builds. r=froydnj
2014-03-13 12:17:42 -04:00
Ben Turner
2558196f9b
Bug 982146 - Clean up SyncRunnable wait code, r=bsmedberg.
2014-03-11 09:42:58 -07:00
Robert O'Callahan
53ef4cd684
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