Commit Graph

229 Commits

Author SHA1 Message Date
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Michal Novotny
82a796d976 Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache 2012-04-25 01:11:39 +02:00
Michal Novotny
43f03cad22 Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock 2012-04-25 01:07:06 +02:00
Michal Novotny
c27d90b2e5 Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress 2012-04-12 18:27:38 +02:00
Michal Novotny
b139380de4 Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread() 2012-04-12 18:24:57 +02:00
Ms2ger
945ee00ec1 Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Jason Duell
3cd4cdb51d Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal 2012-04-06 13:10:32 -07: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
Ryan VanderMeulen
0c2f2d9626 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Sinker Li
954be9a5df Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
f140262449 Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
Nick Hurley
5774cb1a09 bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal 2012-03-30 11:21:01 +02:00
Michal Novotny
2c0b811cfe Bug 649194 - Abort when the cache IO thread can't be created 2012-03-27 10:20:54 +02:00
Michal Novotny
fc7977fd47 Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
df4890a620 Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Nick Hurley
076a7f08b6 Bug 730163 - Telemetry for how long we wait to acquire the cache service lock. r=michal.novotny 2012-02-28 18:40:39 -05:00
Nathan Froyd
9b22bd6141 Bug 700659 - Slay nsHashSets in netwerk. r=jduell 2011-11-08 15:22:15 -05:00
Geoff Lankow
95f0153308 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Ms2ger
e556e26619 Bug 726417: Signed/unsigned comparison in nsCacheMetaData::UnflattenMetaData r=jduell 2012-02-13 11:32:31 -08:00
Gijs Kruitbosch
c7397d32ef Bug 715098 - nsICacheMetaData shouldn't blow up in debug mode if visitor returns false. 2012-01-28 16:13:43 +01:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
bjarne@runitsoft.com
dda993d89a Bug 673543 - crash nsDiskCacheMap::DeleteRecord r=michal.novotny 2012-01-26 12:23:45 +01:00
Geoff Brown
1272d727f0 Bug 712277 - Avoid crash in zlib adler32 following compression failure; r=michal.novotny 2012-01-25 14:52:29 +01:00
Geoff Brown
60e6939d73 Bug 715198 - disable cache compression (avoid failures when new profile accessed by old software versions); r=bjarne 2012-01-17 12:51:17 +01:00
Michal Novotny
8b5492473d Bug 716289 - crash in nsCacheService::SearchCacheDevices 2012-01-12 16:13:09 +01:00
Rafael Ávila de Espíndola
56e4803848 Bug 716576 - nsCacheService closes its databases too late. r=michal.novotny.
--HG--
extra : rebase_source : 7884a6e0aa247e7a5fff39863a2d29a8fbab7a8e
2012-01-11 17:41:21 -05:00
Michal Novotny
23ae26e401 Bug 716146 - Telemetry - close disk cache output stream 2012-01-07 02:45:46 +01:00
Michal Novotny
16221670fa Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread 2012-01-06 16:19:10 +01:00
Phil Ringnalda
d81856e034 Back out 8d1b087b9713 (bug 707436) for mochitest-ipcplugins leaks 2011-12-23 19:21:17 -08:00
Michal Novotny
dd4bc3e426 Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread 2011-12-24 02:51:25 +01:00
Ed Morley
562d844eab Backout b02402b95e5c (bug 708277) for build failures on all platforms 2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
168dd4330b Bug 708277 - Replace PR_MAX with NS_MAX. r=roc 2011-12-22 11:47:59 +01:00
Josh Matthews
6dee57e2f6 Bug 709262 - Disable disk cache if the user chooses to sanitize private data on shutdown. r=michal.novotny 2011-12-19 12:18:29 -05:00
Geoff Brown
42c3ad3b88 Bug 648429: delay pref observer destruction on shutdown to avoid crash; r=michal.novotny 2011-12-17 11:32:41 +01:00
Geoff Brown
9d08b66ca9 Bug 648429: HTTP cache: compress all compressible files; r=michal.novotny 2011-12-17 11:30:29 +01:00
Michal Novotny
51a2a81fd3 Bug 695003 - Race condition when deleting cache directory 2011-12-02 18:10:57 +01:00
Nicholas Nethercote
f102556f32 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Nick Hurley
e96e46244c bug 699409 - telemetry for memory used by records in the disk cache map. r=jduell 2011-11-07 23:41:52 -05:00
Nick Hurley
c1001e17bf Bug 687081 - Time how long it takes to find (or not) things in the cache. r=jduell 2011-10-30 15:39:53 +01:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Michal Novotny
ab368dab07 Bug 681546 - Avoid large cache evictions as disk fills by smoothing "smart" max cache size. 2011-10-19 14:35:57 +02: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
Geoff Brown
22132081c6 Bug 661900 - Correct memory cache implementation of LRU-SP. TP4M REGRESSION OK -- SEE BUG; r=michal 2011-10-05 20:42:02 -04: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
Ehsan Akhgari
870639f5e4 Backout changeset d469840a370f (bug 661900) to see if it helps resolve the Mobile NoChrome Tp4 regression 2011-09-14 13:37:54 -04:00
Michal Novotny
ffb20c1b6e Bug 647391 - Increase maximum size for objects stored in disk cache. 2011-09-13 21:24:01 +02:00