Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: content/browser/zygote_host_linux.h

Issue 7708020: Trying again to land OOM priority manager changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving switch closer to use location Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/zygote_host_linux.h
diff --git a/content/browser/zygote_host_linux.h b/content/browser/zygote_host_linux.h
index 9098e6df006357f6cbee95522acd57e5c5dac86b..facabbb5f38113f9202bc6eaec339fc3816c68f2 100644
--- a/content/browser/zygote_host_linux.h
+++ b/content/browser/zygote_host_linux.h
@@ -74,7 +74,9 @@ class ZygoteHost {
return 0;
}
- // Adjust the OOM score of the given renderer's PID.
+ // Adjust the OOM score of the given renderer's PID. The allowed
+ // range for the score is [0, 1000], where higher values are more
+ // likely to be killed by the OOM killer.
void AdjustRendererOOMScore(base::ProcessHandle process_handle, int score);
private:

Powered by Google App Engine
This is Rietveld 408576698