Ehsan Akhgari
92064e6d3f
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
Michael Wu
d2b70213ac
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
Chris Pearce
9fe588f07c
Bug 664341 - Provide API to specify thread stack size. r=bsmedberg
2011-07-27 15:26:47 +12:00
Ben Turner
257389646e
Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg
2011-06-24 14:12:54 -07:00
Chris Jones
31aa2c4e77
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
Matheus Kerschbaum
4eb6429f47
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)
2c92e3ecd5
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
699024f868
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)
0ce53bb598
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
db6289bc0a
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
timeless@mozdev.org
077eb0bfb4
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
72ea70e7b6
Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+.
2010-11-18 14:19:19 -08:00
Benjamin Smedberg
ec247769d5
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
Ben Turner
488481b966
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
Brad Lassey
04b1298636
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
Ehsan Akhgari
db9d404619
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
ben turner
abb2a26ac0
Bug 498010 - Threads should release their observers when they are shut down; r=benjamin
2009-06-22 15:08:04 +02:00
Boris Zbarsky
dbd6d652d5
Bug 497028. Make sure to have mRunningEvent still incremented when we call the runnable's destructor, since that can also do work. r=bsmedberg
2009-06-11 13:09:35 -04:00
roc+@cs.cmu.edu
16fb24b0d4
Bug 404870. Don't allow nsThread::PutEvent to succeed when the thread is no longer able to process the event. This stops us leaking the event and anything hanging off it. r+sr=bsmedberg
2007-12-04 18:17:15 -08:00
bzbarsky@mit.edu
611a83d517
Try to fix orange: sGlobalObserver can get set during event processing, not
...
just unset. Bug 326777
2007-07-10 20:01:56 -07:00
bzbarsky@mit.edu
3b90c5c518
Relanding bug 326777, r=bsmedberg, sr=jst
2007-07-10 17:57:17 -07:00
bzbarsky@mit.edu
b35a654a6e
Backing out to fix red
2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
30e205dddb
Make sure that we push a null JSContext on the current thread's XPConnect stack
...
before processing events. Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
bzbarsky%mit.edu
236305bd4c
Fix leak when using XPCOM proxies. Bug 371374, patch by Bas Schouten
...
<bas.schouten@joost.com>, r=bsmedberg, sr=bzbarsky
2007-02-23 17:38:45 +00:00
timeless%mozdev.org
a8b8af80f9
Bug 353280 nsThread::PushEventQueue leaks queue if !queue->IsInitialized (nsEventQueue::nsEventQueue() : mMonitor(nsAutoMonitor::NewMonitor("xpcom.eventqueue")) fails)
...
patch by darin r=timeless
2006-10-16 08:02:37 +00:00
mark%moxienet.com
a6b04ae8c0
340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner
2006-06-07 00:06:11 +00:00
darin%meer.net
12f9fa579b
fix AIX bustage
2006-05-10 18:13:20 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
a360ba5dbe
Bug 310487 thread leak
...
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
timeless%mozdev.org
cba483b7cf
Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
...
r=darin sr=darin
2005-09-14 18:18:43 +00:00
timeless%mozdev.org
093b867173
Bug 296506 [@ nsThread::Main]
...
change Init to handle alloc failures and refuse multiple concurrent runs of a thread instance
r=dougt a=asa
2005-06-08 07:33:39 +00:00
bsmedberg%covad.net
9815f3c616
bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt
2004-08-28 20:11:15 +00:00
timeless%mozdev.org
5dccbf31f6
Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
...
patch by cst@andrew.cmu.edu r=dougt
2004-08-26 12:31:56 +00:00
darin%meer.net
4bc648307b
fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc
2004-05-11 18:33:32 +00:00
bsmedberg%covad.net
fbe50a0568
Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819
2004-05-11 09:38:50 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
darin%meer.net
77642ae698
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
b9083989bb
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu
8632dcd97b
Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf
2002-11-09 17:43:33 +00:00
dougt%netscape.com
bffa9d4af1
175932. UMR: PostTimerEvent() does not check return value from GetPRThread(). Thanks to Andrew Schultz for pointing this out. r=pavlov, sr=darin. Also includes 175440 - using nsCOMArray in nsThreadPool, patch by bzbarsky@mit.edu
2002-11-08 04:46:58 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
timeless%mac.com
9b478a4f58
Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
...
r=bz sr=darin
2002-09-04 06:45:10 +00:00
timeless%mac.com
43e442ad09
Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
...
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
bbaetz%student.usyd.edu.au
c1b134e11b
Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
...
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
bryner%netscape.com
90a2f7dfb7
Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
2002-07-08 07:56:50 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dougt%netscape.com
913bbb6f6c
Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
2002-06-11 19:26:04 +00:00
dougt%netscape.com
28495a117d
initalizes member variables in thread poll. 141479. r=dp, sr=darin
2002-05-10 20:48:45 +00:00
dougt%netscape.com
e24b13a938
Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397
2001-11-30 00:06:32 +00:00