Commit Graph

775 Commits

Author SHA1 Message Date
Michal Novotny
10b60a2a59 Bug 695003 - Race condition when deleting cache directory 2011-12-02 18:10:57 +01:00
Nicholas Nethercote
c0681f567c 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
e6c0f3636b 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
0883dccd82 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
276bdfa251 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
f668b57ed8 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
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
Jeff Walden
7d613942b0 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 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Geoff Brown
8566476497 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
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
Ehsan Akhgari
4afd2fb763 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
82dcbf897c Bug 647391 - Increase maximum size for objects stored in disk cache. 2011-09-13 21:24:01 +02:00
Geoff Brown
3565c927e5 Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal 2011-09-08 14:00:24 +02:00
9066f6ce15 Bug 667593 - Intermittent runtime abort in netwerk/test/unit/test_bug650955.js r=michal.novotny 2011-09-06 12:23:26 -04:00
Alfred Kayser
ee039284b4 Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell 2011-08-23 17:45:10 +01:00
Michal Novotny
15b3928571 Bug 681085 - sync cache map file after writing the header 2011-08-23 00:24:23 +02:00
Benjamin Smedberg
2c2ac1f0ac Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell 2011-08-19 11:47:43 -04:00
Matheus Kerschbaum
e48342f7d4 Bug 678794 - Remove NECKO_OFFLINE_CACHE checks. r=jduell 2011-08-18 11:53:28 +02:00
Matheus Kerschbaum
a54eedba4d Bug 678792 - Remove --disable-necko-disk-cache. r=khuey,jduell 2011-08-18 11:53:26 +02:00
Michael Wu
94612b227a Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Matheus Kerschbaum
2d192796ea Bug 675500 - Remove --disable-storage. r=khuey 2011-08-06 19:05:49 +02:00
Marco Bonardo
1c126c9ee2 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Matt Brubeck
4071677b97 Back out 52702d275995 (bug 647391) because of xpcshell test failures 2011-08-02 19:59:22 -07:00
Jason Duell
cc6363aa32 Bug 647391 - Increase maximum size for objects stored in disk cache. r=michal 2011-08-02 17:12:25 -07:00
Jason Duell
cecf38693a bug 674689: Delay Cache.trash delete to avoid startup I/O contention. r=michal 2011-08-02 16:54:55 -07:00
Michal Novotny
03cb79f76b Bug 675420 - cache is now cleared on every startup 2011-08-03 00:23:54 +02:00
Michal Novotny
c68c3c0684 Bug 673808 - _CACHE_MAP_ is storing nsDiskCacheRecord structs with uninitialized data containing bits of Fx memory 2011-07-26 13:09:42 +02:00
Jason Duell
134658fddc Bug 670911 Cache slow to clear after crash: rename to *.Trash in same directory to avoid NTFS ACL reset. r=michal 2011-07-28 04:12:38 -07:00
Taras Glek
323cb5d574 Bug 672651 - Track cache init times via telemetry r=jduell 2011-07-20 17:02:58 -07:00
Nicholas Nethercote
1adf988f65 Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell. 2011-07-18 18:22:36 -07:00
b0695bf0db Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Ed Morley
e02f78569a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
fffef075ee Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne 2011-06-22 10:49:35 +02:00
Ed Morley
2a9443a2cb Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Neil Rashbrook
8d4da28eb7 Bug 660527 Remove useless uses of PromiseFlatCString r=biesi 2011-06-16 21:25:20 +01:00
Dominic Fandrey
532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Michal Novotny
10009558cf Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
Mounir Lamouri
10e062e993 Backout bug 654926 because of perma orange on Win Opt xpcshell. 2011-05-19 18:54:26 +02:00
Bjarne
ff412c438f Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube. r=michal 2011-05-19 12:45:51 +02:00
Ed Morley
ccefac1d72 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ed Morley
5939100a93 Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Bjarne
805545cf65 Bug 549767 - Write/flush cache metadata off main-thread. r=michal.novotny 2011-04-17 19:31:15 +02:00
Jim Mathies
4b421613fd Bug 644431 - Adobe PDF Files Larger than 5 MB Won't Load in Browser. r=bz 2011-04-08 12:53:55 -07:00
Michal Novotny
8667b4f6c3 Bug 617123 - Images are randomly corrupted with fallocate. r=jduell 2011-01-12 04:38:12 +02:00
b3042dbaaa Bug 619685 unused variable dataSize in nsDiskCacheStreamIO::FlushBufferToFile
r=jduell
2011-04-06 11:14:10 -07:00
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07: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