|
This adds periodic OOM score adjustment, based on the last access time
of the tab, whether or not it is pinned, and (of course) how much
memory it is using.
TEST=Tested on dogfood machine, both using large numbers of tabs, and small tabs that used lots of memory.
BUG=none
Total comments: 37
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+259 lines, -12 lines) |
Patch |
 |
M |
base/task.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
|
3 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/oom_priority_manager.h
|
View
|
1
2
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/oom_priority_manager.cc
|
View
|
1
2
3
|
1 chunk |
+169 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents.h
|
View
|
1
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/tab_contents.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/zygote_host_linux.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/zygote_host_linux.cc
|
View
|
|
2 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|