зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 3519c255f86e (bug 1284651) for gtest failures CLOSED TREE
This commit is contained in:
Родитель
15535c9309
Коммит
4f6f7b7336
|
@ -1391,11 +1391,6 @@ void SurfaceCache::Initialize() {
|
|||
uint64_t surfaceCacheMaxSizeKB =
|
||||
StaticPrefs::image_mem_surfacecache_max_size_kb_AtStartup();
|
||||
|
||||
if (sizeof(uintptr_t) <= 4) {
|
||||
// Limit surface cache to 1 GB if our address space is 32 bit.
|
||||
surfaceCacheMaxSizeKB = 1024 * 1024;
|
||||
}
|
||||
|
||||
// A knob determining the actual size of the surface cache. Currently the
|
||||
// cache is (size of main memory) / (surface cache size factor) KB
|
||||
// or (surface cache max size) KB, whichever is smaller. The formula
|
||||
|
|
|
@ -3750,7 +3750,7 @@
|
|||
# Maximum size for the surface cache, in kilobytes.
|
||||
- name: image.mem.surfacecache.max_size_kb
|
||||
type: uint32_t
|
||||
value: 2024 * 1024
|
||||
value: 1024 * 1024
|
||||
mirror: once
|
||||
|
||||
# Minimum timeout for expiring unused images from the surface cache, in
|
||||
|
|
Загрузка…
Ссылка в новой задаче