gecko-dev/netwerk/cache2
Michal Novotny 3ab8b4b548 Bug 1614619 - Eviction algorithm should first evict entries of a content type that’s above a limit r=valentin
This patch implements limit for media content type in the cache. When we need to evict something from the cache and media is over the limit, it's evicted first.

Differential Revision: https://phabricator.services.mozilla.com/D64548

--HG--
extra : moz-landing-system : lando
2020-03-02 12:17:32 +00:00
..
AppCacheStorage.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
AppCacheStorage.h
CacheEntry.cpp Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
CacheEntry.h Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
CacheFile.cpp Bug 1616507 - Intermittent PID 13265 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/build/src/netwerk/cache2/CacheFile.cpp:2362:48 in EntryWouldExceedLimit r=mayhemer 2020-02-26 11:56:21 +00:00
CacheFile.h Bug 1607142 - Hold lock in CacheFile::IsWriteInProgress to avoid data race r=mayhemer 2020-01-23 19:18:06 +00:00
CacheFileChunk.cpp Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileChunk.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
CacheFileContextEvictor.cpp Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileContextEvictor.h Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileIOManager.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
CacheFileIOManager.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
CacheFileInputStream.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
CacheFileInputStream.h Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileMetadata.cpp Bug 1599615 - Make some necko code less nsresult-happy. r=kershaw,valentin 2019-12-02 13:21:06 +00:00
CacheFileMetadata.h Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileOutputStream.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
CacheFileOutputStream.h Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileUtils.cpp Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheFileUtils.h Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
CacheHashUtils.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
CacheHashUtils.h
CacheIOThread.cpp Bug 1608002 - Link to CancelSynchronousIo at compile time. r=mayhemer 2020-01-13 18:49:36 +00:00
CacheIOThread.h Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheIndex.cpp Bug 1614619 - Eviction algorithm should first evict entries of a content type that’s above a limit r=valentin 2020-03-02 12:17:32 +00:00
CacheIndex.h Bug 1614619 - Eviction algorithm should first evict entries of a content type that’s above a limit r=valentin 2020-03-02 12:17:32 +00:00
CacheIndexContextIterator.cpp
CacheIndexContextIterator.h
CacheIndexIterator.cpp
CacheIndexIterator.h Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
CacheLog.cpp
CacheLog.h
CacheObserver.cpp Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
CacheObserver.h Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
CacheStorage.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
CacheStorage.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
CacheStorageService.cpp Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
CacheStorageService.h Bug 1614637 - ThreadSanitizer: data race [@ assign_assuming_AddRef] vs. [@ operator bool] in CacheStorageService r=mayhemer 2020-02-17 18:44:21 +00:00
OldWrappers.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
OldWrappers.h Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
moz.build
nsICacheEntry.idl Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer 2020-01-14 13:53:01 +00:00
nsICacheEntryDoomCallback.idl
nsICacheEntryOpenCallback.idl
nsICacheStorage.idl
nsICacheStorageService.idl Bug 1474608 - P2 - Clear origin attributes data directly on cache2; r=asuth,michal,baku 2019-12-02 19:47:05 +00:00
nsICacheStorageVisitor.idl
nsICacheTesting.idl