Commit Graph

64 Commits

Author SHA1 Message Date
Lucas Molas
005f11e59d Bug 680556 - Make NS_(Re)Alloc infallible. r=bsmedberg 2011-11-09 11:42:00 -05:00
Ehsan Akhgari
478ad1a412 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
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ed Morley
49398a0b56 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Chris Jones
9ae6458637 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
ecb9597975 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a 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
Justin Lebar
02a6d6af4a Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal 2011-03-28 15:58:49 -04:00
Doug Turner
cde4ac1bff Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0 2010-09-02 19:02:06 -03:00
Oleg Romashin
09c27b8c80 Bug 578618 - Remove high_watermark check on maemo > 5. r=dougt 2010-08-03 10:44:47 -07:00
Mitchell Field
033ca6df32 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
ff0124495e Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
r=bsmedberg
2010-03-12 07:50:11 +01:00
Chris Jones
3a57955620 Bug 441324, part 4: Enable infallible operator new (leaving malloc fallible) in Gecko, and play well with the wince shunt. r=bsmedberg r=blassey r=vlad 2010-03-03 23:02:58 -06:00
Oleg Romashin
4b4598d8fb Bug 547008 - osso-mem.h in nsMemoryImpl.cpp is not used, and should be removed. r=dougt 2010-02-19 00:04:39 +02:00
Oleg Romashin
c5ea4f3362 Bug 540545 - NS_ERROR is very annoying in X86 maemo builds. r=dougt 2010-02-18 23:52:54 +02:00
Doug Turner
879a42d6c1 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Doug Turner
a19c677898 Fixing comment in nsMemoryImpl.cpp 2009-12-01 12:29:55 -08:00
Doug Turner
a5f5e1d5ca Bug 532039 - Improve perf of IsLowMemory. r=bsmedberg. 2009-12-02 00:24:19 -08:00
Justin Dolske
ee3b4e47c5 Bug 525323 - Windows CE ux/perf regression between Alpha 2 and Beta 1. 2009-10-30 22:39:30 -07:00
Doug Turner
afda4b7a4a Bug 522060 - Increase IsLowMemory threshold WINCE only. r=blassey 2009-10-13 14:06:36 -07:00
Chris Jones
e2ae8bdb88 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
054774d2e1 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Doug Turner
daa4f3b97f Bug 516769 - WINCE IsLowMemory fixups. r=vlad 2009-09-15 13:29:57 -07:00
Doug Turner
94520cf8f7 Bug 516699 - Increase the interval between low-memory notifications. r=vlad 2009-09-15 11:33:53 -07:00
Doug Turner
670b4a4d8f Bug 475595 - IsLowMemory cleanup. Removes comment. r=vlad 2009-09-15 09:28:53 -07:00
Doug Turner
1498e8922b Bug 475595 - IsLowMemory cleanup. Enables predicate on WINCE. Removes memory flusher thread. r=vlad 2009-09-14 20:11:30 -07:00
Hashem Masoud
ae914487ea Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Vladimir Vukicevic
e5a393dc3a b=475595; disable IsLowMemory on Windows CE until we can fix it to be correct/performant; r=dougt 2009-02-11 18:26:27 -08:00
be8edc566d Bug 472097 xul!nsMemoryImpl::IsLowMemory is broken on systems w/ lots of vm, r=bsmedberg 2009-01-15 20:02:21 -08:00
Benjamin Smedberg
4dd763f039 Bug 442012 - Allocating more than 2GB of memory in mozilla is never a good idea. On 64-bit systems PRSize and size_t are 64-bit and so truncation from PRSize to PRUint32 could cause weird behavior errors. Prevent these huge allocations. r=wtc sr=dveditz 2008-11-26 14:38:53 -05:00
Doug Turner
5e46466129 Bug 452489 - Fixes OOM predicate on OSSO to use the high water mark. r=bsmedberg 2008-09-05 17:21:36 -07:00
Doug Turner
01d4829083 Bug 451672 - Fix nsIMemory::IsLowMemory on Maemo. r=stuart 2008-08-15 02:12:45 -07:00
darin@meer.net
0700b87ece 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
darin@meer.net
c529948c37 fixes bug 322908 "ASSERTION: NS_Alloc of size 0: 'size'" r=bsmedberg 2006-01-10 20:39:35 +00:00
bsmedberg@covad.net
9e9855ed0a Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
joshmoz@gmail.com
dfae94215e remove XP_MAC code from xpcom/base. r=josh r=dougt a=bsmedberg 2005-06-24 00:24:42 +00:00
dougt@meer.net
ef7a09b7b1 IsLowMemory predicate needs to use total memory, page filess. WINCE only. r=dougt NPODB 2005-06-02 04:24:07 +00:00
bsmedberg@covad.net
7a3f099bf9 Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767 2004-11-23 17:20:00 +00:00
bsmedberg@covad.net
da054fc039 Remove extraneous semicolon (breaks gcc3.4 and mingw) r=bustage 2004-11-12 21:46:49 +00:00
bsmedberg@covad.net
f8e2073a8d Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner@brianryner.com
3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
timeless@mozdev.org
f877e91489 Bug 199006 there are two independent initializations of nsMemoryImpl before Init_XPCOM2 finishes
r=dougt
2003-04-07 14:20:19 +00:00
mkaply@us.ibm.com
c15444f0cb #166686
r=dougt, sr=bzbarsky
Assert if we try to malloc zero in nsMemory
2003-01-15 20:37:12 +00:00
dbaron@dbaron.org
8c37890522 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
dougt@netscape.com
46ce738546 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
dougt@netscape.com
a56a493e72 Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband. 2001-12-07 19:54:16 +00:00
dougt@netscape.com
a0ee550315 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com 2001-10-26 00:09:22 +00:00
dougt@netscape.com
97a37fd993 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt@netscape.com
19dc5b259f nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00