|
Add discardable memory emulation for non-android non-mac platforms
Installs a very basic discardable memory emulator. It purges only when all
render widgets for the process are hidden, and when it purges, it purges every
unlocked discardable. No attempt at a MRU or max cache size is attempted.
BUG= 237681
Total comments: 12
Total comments: 5
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+340 lines, -65 lines) |
Patch |
 |
M |
base/base.gypi
|
View
|
1
2
3
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/containers/mru_cache.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/memory/discardable_memory.h
|
View
|
1
2
3
|
4 chunks |
+25 lines, -3 lines |
3 comments
|
Download
|
 |
M |
base/memory/discardable_memory.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -40 lines |
0 comments
|
Download
|
 |
M |
base/memory/discardable_memory_android.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
A |
base/memory/discardable_memory_emulated.cc
|
View
|
1
2
3
|
1 chunk |
+213 lines, -0 lines |
11 comments
|
Download
|
 |
M |
base/memory/discardable_memory_mac.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
base/memory/discardable_memory_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_process_visibility_manager.h
|
View
|
1
2
3
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_process_visibility_manager.cc
|
View
|
1
2
3
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
|
4 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkitplatformsupport_impl.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 33 (0 generated)
|