Nicolas B. Pierron
f5e41e585a
Bug 876029 - Add Missing MPL header. r=jlebar DONTBUILD
2013-07-15 15:25:07 -07:00
Benoit Girard
5b43ee14ca
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
2013-07-12 08:56:54 -04:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Nicolas B. Pierron
a0ecacf230
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-09 13:47:15 -07:00
Ryan VanderMeulen
11e25eb4b6
Backed out changeset 1c6223f7c74f (bug 876029) for Android armv6 mochitest-1/3 crahes.
2013-07-07 21:18:36 -04:00
Nicolas B. Pierron
357fed3c71
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-07 16:02:58 -07:00
Arnaud Sourioux
9256d2b930
Bug 744115 - Disallow dispatching events after threads shut down. r=bsmedberg
2013-07-07 16:23:43 -04:00
Michal Novotny
6478173231
Bug 886791 - Deadlock can occur if nsThreadPool::Dispatch() is called under lock, r=bsmedberg
2013-06-26 01:18:39 +02:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Trevor Saunders
0230640bc6
bug 877850 - fix static constructors in xpcom/ r=jlebar
2013-05-30 17:20:02 -04:00
Aaron Klotz
5cf638ca73
Bug 744836: Modify nsTimerEvent to hold its timer reference until the nsTimerEvent itself is destroyed. r=bsmedberg,ehsan
2013-05-30 10:19:18 -06:00
Julian Seward
004a71f006
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Chris Peterson
81b2f45d57
Bug 873960 - Avoid unnecessary idle thread notifications when changing thread limits. r=bsmedberg
2013-05-16 09:02:46 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Maria Grazia Alastra
d645d2e812
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
2013-05-16 08:26:55 -04:00
Vladan Djeric
09e2368b6a
Bug 867313: 'crash on hang' doesn't always trigger. r=ehsan
2013-04-30 18:39:16 -04:00
Ben Turner
0514a30d13
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Ben Turner
d2d94d205c
Backout bug 861287 for gcc build failures.
2013-04-25 08:30:28 -04:00
Ben Turner
19f1c29c69
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Aaron Klotz
1fa45885ed
Bug 744836: Adds null checks for mEventTarget in nsTimerImpl. r=bsmedberg
2013-04-23 11:24:20 -06:00
David Rajchenbach-Teller
a463ed5806
Bug 724368 - Expose the maximum number of threads. r=dougt
2013-04-19 07:54:18 -04:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Jason Duell
deacfc8702
Bug 792920 - clarify thread-safe use of nsITimer v2. r=bz DONTBUILD
2013-04-08 15:20:00 -07:00
Jason Duell
d787dc2549
Bug 792920 - Update nsITimer.idl comments re: off main-thread use. r=mcmanus DONTBUILD
2013-04-04 11:36:07 -07:00
Chris Peterson
7b51735db0
Bug 579517 - Remove some PRBools. r=ehsan
2013-04-04 10:28:18 -07:00
Ehsan Akhgari
124e2f7dca
Bug 579517 follow-up: Remove NSPR types that crept in
2013-04-02 20:59:27 -04:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Benjamin Smedberg
a8fc98840f
Bug 853998 - Add a common "SyncRunnable" class which dispatches events totally synchronously, avoiding event loop spinning or automatic promotion of this event to a nsThread, r=bsmedberg
2013-03-26 09:11:00 -07:00
Benoit Girard
fc10a7cfe4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Nicholas Nethercote
2702cf9b88
Bug 847248 (part 10) - Rewrite TimerEventAllocator and remove nsFixedSizeAllocator. r=bz,ehsan; sr=bsmedberg.
...
--HG--
extra : rebase_source : aaa9c2d0ffd268e8f1b9184e8230b1e7932f014d
2013-03-06 14:29:30 -08:00
Daniel Holbert
b76c363e13
Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg
2013-03-15 10:52:10 -07:00
Avi Halachmi
c113be7b48
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Mike Shal
e9f8bc0fbd
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Nicholas Nethercote
cc8a28de9e
Bug 847248 (part 2) - Use a smaller chunk size in TimerEventAllocator. r=bz.
2013-03-03 18:50:06 -08:00
Ehsan Akhgari
3b20d99b2b
Bug 799142 - Make sure that the allocator for nsTimerEvent objects stays around long enough to deallocate all outstanding objects of that type; r=bsmedberg
2013-03-04 19:04:59 -05:00
Ehsan Akhgari
5eb0209309
Backed out 2 changesets (bug 799142) because of memory leaks
...
Backed out changeset a0cf0252cee4 (bug 799142)
Backed out changeset 7b1bb476bd8d (bug 799142)
2013-03-04 15:48:04 -05:00
Ehsan Akhgari
1b5b95cafb
Bug 799142 follow-up: build bustage fix
...
landed on a CLOSED TREE
2013-03-04 14:41:54 -05:00
Ehsan Akhgari
1190c8b8d6
Bug 799142 - Make sure that the allocator for nsTimerEvent objects stays around long enough to deallocate all outstanding objects of that type; r=bsmedberg
2013-03-04 14:24:05 -05:00
Gregory Szorc
a8e6b873d4
Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Ehsan Akhgari
05344173dd
Fix the documentation of TimerEventAllocator threading expectations, no bug, DONTBUILD
2013-02-18 21:13:26 -05:00
Boris Zbarsky
002618e54d
Bug 618479 part 2. Use binary, not linear, search to determine timer insertion locations. r=brendan
2013-02-13 10:11:53 -05:00
Chris Peterson
539e783497
Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 21:54:20 -08:00
Chris Peterson
481aeddb5f
Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 20:50:05 -08:00
Nicholas Nethercote
0ea79c11c5
Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron.
2012-12-20 21:31:57 -08:00
Gabriele Svelto
c95ca6c01f
Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar
2012-12-11 19:13:29 +01:00
Theo Chevalier
2e90bf0940
Bug 699806 - Enable Telemetry by default on Nightly and Aurora channels (Desktop), r=mak77
2012-12-08 18:41:23 +01:00
Bas Schouten
b8bd2ee92a
Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan
2012-12-08 06:15:21 +01:00
Rafael Ávila de Espíndola
f6513ba12c
Bug 808699 - Change the wire format for hang reports. r=vladan.
2012-11-20 09:45:14 -05:00
Brian R. Bondy
a0ee1a91ab
Bug 795887 - Mirror existing sleep notification handling with process suspend notification handling. r=bsmedberg
2012-11-09 10:34:10 -05:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Ehsan Akhgari
f117c7a7b0
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Makoto Kato
65470ba401
Bug 803476 - RunProcess may leak memory if ShellExecuteEx is failure. r=bsmedberg
2012-10-24 13:46:52 +09:00
Olli Pettay
b0e3180948
Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley
2012-10-24 01:26:36 +03:00
Abhishek Potnis
2509c81393
Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan
2012-10-20 07:31:43 +05:30
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Jacek Caban
3e03fe60cf
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (xpcom/threads part) r=ehsan
...
--HG--
extra : rebase_source : 177a5faf91a90016807060293743cde13001a88c
2012-10-04 10:30:03 +02:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Isaac Aggrey
b33410feb2
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola
b9989b51cc
Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
...
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Honza Bambas
e12af72ed8
Bug 774243 - [Linux] Process name changes to RunProcess, r=benjamin
2012-07-31 20:59:18 +02:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jason Duell
164eb37294
Bug 778296 (previous commit was empty!) - Add comment about thread-safety to nsITimer DONTBUILD. r=bz
2012-07-27 13:58:00 -07:00
Ehsan Akhgari
5291985f25
Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD)
2012-07-10 19:12:40 -04:00
Vladan Djeric
896beec481
Bug 772643: Don't allocate memory in hang monitor while a thread is suspended. r=ehsan
2012-07-10 18:32:58 -04:00
Ehsan Akhgari
d8ef87199c
Bug 772518 - Remove nsThread::mShutdownPending because it is unused; r=bsmedberg
2012-07-10 16:12:41 -04:00
Benoit Girard
7aa6b28d00
Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
...
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Vladan Djeric
8aefa44c2e
Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan
2012-06-20 19:20:24 -04:00
Ehsan Akhgari
12418857f6
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (remaining XPCOM parts); r=bsmedberg
...
--HG--
extra : rebase_source : 578d3ab1fefa2f2268069790a6a75db4580991b2
2012-06-12 23:08:53 -04:00
Ehsan Akhgari
ddcea4e3b7
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Honza Bambas
41779e1714
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Brian R. Bondy
6a1a161e57
Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras
2012-05-30 13:25:09 -04:00
Brian R. Bondy
67c92b0d6e
Bug 710935 - Measure lag in handling user input. r=bsmedberg
2012-05-25 09:22:19 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Matt Brubeck
58eb5eeac0
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
8c0c24a4a2
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Nicholas Nethercote
228e65798f
Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz.
2012-04-19 14:15:23 +10:00
Serge Gautherie
6178112fa0
Bug 740769. (Bv1) Convert test_bug325418.js file to LF end-of-lines, Fix nsITimer.idl documentation. r=bzbarsky.
...
DONTBUILD.
2012-04-10 04:32:19 +02:00
Veeraya Pupatwibul
1bdf9d9923
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Benjamin Smedberg
096d77cb71
Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
...
--HG--
extra : rebase_source : 54e3f130dfaf59e67974019e39bf85471b22b4bf
2012-03-23 14:45:41 -04:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Vladan Djeric
e8510855b8
Bug 735829. Report PDB filename in chrome hang reports. r=ehsan
2012-03-19 19:05:25 -04:00
Landry Breuil
1c023bd98f
Bug 735422: Don't use shared-libraries.h and SharedLibraryInfo structs where SPS is not enabled; r=ehsan
2012-03-14 22:57:04 -04:00
Ehsan Akhgari
348873aa96
Bug 733277 - Prevent firing timers from lock contention with the main thread; r=bsmedberg
2012-03-04 18:56:19 -05:00
Vladan Djeric
745727778e
Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan
2012-03-12 07:07:05 -04:00
Masatoshi Kimura
28f2776f50
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Ed Morley
ad5a8e1d06
Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression
2012-02-08 21:04:21 +00:00
Masatoshi Kimura
88ba00973a
Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil
2012-02-08 10:00:45 -06:00
Bobby Holley
588c8cc229
Bug 716167 - Only push null contexts in XPConnect for main thread events, and remove infrastructure from bug 326777. r=bz
2012-01-14 10:31:16 -08:00
Bobby Holley
a2312ff029
Bug 717498 - Clear nsThread::mEventObservers at thread shutdown. r=bsmedberg
2012-01-14 10:31:13 -08:00
Benjamin Smedberg
29cd67e86a
Bug 675221 part A: replace XPCOM proxies with runanble for code in XPCOM itself, r=bz
2012-01-11 11:28:21 -05:00
Kyle Huey
10417f5d9c
Bug 715162: Add missing nsTArray.h include.
2012-01-05 09:01:01 -05:00
Kyle Huey
e96acf96ec
Bug 715162: Move LazyIdleThread to xpcom/. r=bent
...
--HG--
rename : dom/indexedDB/LazyIdleThread.cpp => xpcom/threads/LazyIdleThread.cpp
rename : dom/indexedDB/LazyIdleThread.h => xpcom/threads/LazyIdleThread.h
2012-01-05 08:42:47 -05:00
Ms2ger
7be1aa423d
No bug - Remove stray semicolon in nsThread.cpp; rs=bsmedberg
2011-12-18 11:13:56 +01:00
Justin Lebar
7f710c6425
Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
...
--HG--
extra : rebase_source : d1d8b245aa3b86ae434b0b2694d8781f25ad0683
2011-08-05 18:10:50 -04:00
Jeff Muizelaar
9c4d4fff06
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Benjamin Smedberg
e2920dc886
Add MOZ_CRASHREPORTER ifdefs to the patch for bug 429592. r=captain bustage
...
--HG--
extra : rebase_source : 52d8221942a9be96dc76a546fbfa4c573331c1bf
2011-11-04 15:13:58 -04:00
Benjamin Smedberg
8b8a2194c9
Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent
...
--HG--
extra : rebase_source : 338bad7e999d5a3c928a7b24965461fc0ff06a19
2011-10-12 13:52:26 -04:00
Ed Morley
24695badf6
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Gregory Szorc
f9737cefa1
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Michael Kraft
68cc56a6b0
Bug 325418. When a repeating timer at interval X is reinitialized for interval Y, the next firing after that is incorrectly after time X+Y. r=bzbarsky
2011-11-02 23:46:08 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
887ff1b97a
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Chris Pearce
3683db2819
Bug 664341 - Provide API to specify thread stack size. r=bsmedberg
2011-07-27 15:26:47 +12:00
Ben Turner
02f459f359
Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg
2011-06-24 14:12:54 -07:00
wfernandom2004@gmail.com
5963fbfd3b
Bug 338583, implement EventSource, r=smaug,Ms2ger
...
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Ed Morley
aa86759d37
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Chris Jones
6f947aec19
Bug 556214, part 4: TimerThread wants to be using non-reentrant Monitor. r=bz
2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Boris Zbarsky
dd94d998a3
Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
...
This implements proposal 3 from bug 650379 comment 13. The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing. A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout. While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time. That seems
undesirable.
An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Serge Gautherie
7653666d53
Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
...
r=benjamin.
2011-04-14 12:47:41 +02:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Justin Lebar
7e2c5ae50d
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Mounir Lamouri
e89c5d6486
Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst
2011-01-19 12:13:54 +01:00
timeless@mozdev.org
454b199d40
Bug 607944 Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)
...
r=cjones a=bsmedberg
2011-01-05 14:11:56 -08:00
Ben Turner
06f05e75ce
Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+.
2010-11-18 14:19:19 -08:00
Robert Sayre
2d10c1480d
Merge tracemonkey to mozilla-centra. a=blockers.
2010-11-17 13:55:14 -08:00
Benjamin Smedberg
51c8b615be
Bug 610381 part A - Propagate errors thrown during synchronous dispatch of nsIRunnables, r=bz
...
--HG--
extra : rebase_source : e445ee4db34c68fd9f9c8844f62d879708733eff
2010-11-17 15:58:48 -05:00
Robert Sayre
f8d70b12f4
Merge mozilla-central to tracemonkey.
2010-11-16 07:25:10 -08:00
Ben Turner
fca93ac512
Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst
2010-11-11 14:52:30 -08:00
Ben Turner
801c52fd90
Bug 608186 - 'IndexedDB: Transactions should expire when we return to the event loop'. r=sicking, a=blocking+
2010-11-15 13:49:49 -08:00
Ben Turner
816c8d40c4
Bug 609501 - Change nsIThreadManager for bug 580096. r=jst
2010-11-03 18:41:06 -07:00
Brad Lassey
8ae1373c7b
bug 601268 - Add canary-in-the-mine instrumentation to detect when the browser process spends too long outside its main-thread event loop(s) r=cjones a=beltzner
2010-10-27 11:16:03 -04:00
Josh Aas
9298c75766
Bug 599478: Fix incorrect exit code for unhandled signal termination in nsIProcess on Mac OS X. r=bsmedberg a=blocking2.0betaN+
2010-10-25 16:57:18 -04:00
Ben Turner
827956ea78
Bug 609501 - Change nsIThreadManager for bug 580096. r=jst
2010-11-03 18:41:06 -07:00
Alon Zakai
e23ded09ec
Bug 596373 - Timer thread sleeping for 0 time causes lots of wakeups. r=brendan a=blocking-fennec
2010-10-07 11:47:51 -07:00