Граф коммитов

55 Коммитов

Автор SHA1 Сообщение Дата
Oleg Romashin 5605374989 Bug 578618 - Remove high_watermark check on maemo > 5. r=dougt
--HG--
extra : rebase_source : 7c485016f3dab422a45426e8c970c5cac6e2cf4d
2010-08-03 10:44:47 -07:00
Mitchell Field f544d71a9d 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
timeless@mozdev.org 549a27770d Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
r=bsmedberg

--HG--
extra : rebase_source : 60094ce8f7f09bb5a5fcd9f16f8cadccde6d0ae9
2010-03-12 07:50:11 +01:00
Chris Jones f181d3cf73 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 a9081687b4 Bug 547008 - osso-mem.h in nsMemoryImpl.cpp is not used, and should be removed. r=dougt
--HG--
extra : rebase_source : 35638f5dd120786826ee0f9891e3d00940bbb037
2010-02-19 00:04:39 +02:00
Oleg Romashin 040cc3c6c6 Bug 540545 - NS_ERROR is very annoying in X86 maemo builds. r=dougt
--HG--
extra : rebase_source : 3355bf2092ded94c75bc733f2c36c51428dd53ef
2010-02-18 23:52:54 +02:00
Doug Turner 7892aabac9 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Doug Turner 22bb3ebf84 Fixing comment in nsMemoryImpl.cpp 2009-12-01 12:29:55 -08:00
Doug Turner edc6925e37 Bug 532039 - Improve perf of IsLowMemory. r=bsmedberg. 2009-12-02 00:24:19 -08:00
Justin Dolske ddb9996efa Bug 525323 - Windows CE ux/perf regression between Alpha 2 and Beta 1. 2009-10-30 22:39:30 -07:00
Doug Turner 1b31380cc9 Bug 522060 - Increase IsLowMemory threshold WINCE only. r=blassey
--HG--
extra : rebase_source : 378b456f1770bc1960fc8e1416272068f3b9f921
2009-10-13 14:06:36 -07:00
Chris Jones 708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones f2df9d3504 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 82df75753b Bug 516769 - WINCE IsLowMemory fixups. r=vlad 2009-09-15 13:29:57 -07:00
Doug Turner 899cc6ac46 Bug 516699 - Increase the interval between low-memory notifications. r=vlad 2009-09-15 11:33:53 -07:00
Doug Turner 2ddf2d8cd7 Bug 475595 - IsLowMemory cleanup. Removes comment. r=vlad 2009-09-15 09:28:53 -07:00
Doug Turner c1d3eba6f5 Bug 475595 - IsLowMemory cleanup. Enables predicate on WINCE. Removes memory flusher thread. r=vlad
--HG--
extra : rebase_source : 46f21bdc6111efa264a9bd621440449dab5ac96d
2009-09-14 20:11:30 -07:00
Hashem Masoud b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Vladimir Vukicevic d27b42a061 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
timeless@mozdev.org 0d45025b8a 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 d9727afb44 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 78d1aa28dd 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 a382367616 Bug 451672 - Fix nsIMemory::IsLowMemory on Maemo. r=stuart 2008-08-15 02:12:45 -07: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
darin%meer.net 146ceb4bc3 fixes bug 322908 "ASSERTION: NS_Alloc of size 0: 'size'" r=bsmedberg 2006-01-10 20:39:35 +00:00
bsmedberg%covad.net a7253270ad 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 f2954af59f remove XP_MAC code from xpcom/base. r=josh r=dougt a=bsmedberg 2005-06-24 00:24:42 +00:00
dougt%meer.net e6f2bbca35 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 ab83401377 Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767 2004-11-23 17:20:00 +00:00
bsmedberg%covad.net 2ab6a99b48 Remove extraneous semicolon (breaks gcc3.4 and mingw) r=bustage 2004-11-12 21:46:49 +00:00
bsmedberg%covad.net 82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner%brianryner.com 0c7c3a2ff3 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 37891802cb 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 178da70bab #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 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
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
dougt%netscape.com 5cca684efc Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband. 2001-12-07 19:54:16 +00:00
dougt%netscape.com 8e3200f084 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com 2001-10-26 00:09:22 +00:00
dougt%netscape.com 0a62d4e8d5 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 d18d7e2b17 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 4e12e44b2f 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 7863bcb388 #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 0a8858c5a6 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 be8f8ecc25 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 a1e0644138 Fix orangeness on Linux. 2000-09-20 07:31:53 +00:00
waterson%netscape.com 7dc55680e8 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 60706b55ac OS/2 Tinderbox breakage
More XP_PC stuff
2000-08-24 13:58:21 +00:00
warren%netscape.com 10b3ee21a6 Bug 44352. Adding IsLowMemory predicate & implementation for Windows. 2000-08-24 08:35:13 +00:00
dbaron%fas.harvard.edu 110242a861 Fixing bustage. Stupid error... 2000-08-06 17:17:22 +00:00