Commit Graph

91 Commits

Author SHA1 Message Date
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
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
mkaply@us.ibm.com
f7cda3fc55 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:51:05 +00:00
sfraser@netscape.com
8163859e45 Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc. 2000-10-14 00:39:16 +00:00
waterson@netscape.com
61489ec7f6 Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren 2000-09-28 23:17:49 +00:00
waterson@netscape.com
50b4e2d344 Fix orangeness on Linux. 2000-09-20 07:31:53 +00:00
waterson@netscape.com
77cfafd195 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren 2000-09-20 05:44:19 +00:00
mkaply@us.ibm.com
200d8e9a89 OS/2 Tinderbox breakage
More XP_PC stuff
2000-08-24 13:58:21 +00:00
warren@netscape.com
592e4c42be Bug 44352. Adding IsLowMemory predicate & implementation for Windows. 2000-08-24 08:35:13 +00:00
dbaron@fas.harvard.edu
4419611510 Fixing bustage. Stupid error... 2000-08-06 17:17:22 +00:00
dbaron@fas.harvard.edu
3606c17b3a Fix crash on shutdown (or patch things up so they don't crash) by releasing memory pressure observers closer to the beginning of XPCOM shutdown. b=47791 r=waterson@netscape.com 2000-08-06 16:23:04 +00:00
warren@netscape.com
f768fce9bd Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron 2000-07-11 07:29:05 +00:00
warren@netscape.com
ed89ec8d82 Defensive programming for UnregisterObserver after Shutdown. r=dbaron 2000-07-11 06:56:06 +00:00
warren@netscape.com
6602803c26 Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron 2000-07-11 06:03:08 +00:00
warren@netscape.com
6d11af19d0 Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze. 2000-06-03 07:02:20 +00:00