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

Issue 11361252: Ensure that the foreground tab's process has high priority (Closed)

Created:
8 years, 1 month ago by cjhopman
Modified:
8 years, 1 month ago
Reviewers:
nilesh
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Ensure that the foreground tab's process has high priority To reclaim memory, Android will kill renderer processes before killing the browser process (See http://developer.android.com/guide/components/processes-and-threads.html). That is, the browser process is a foreground process while the renderer processes are service processes. A foreground process can bind to a service process so that that process has the same priority as the foreground process (in terms of what should be killed). BUG=159980 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168007

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -10 lines) Patch
M content/browser/android/content_view_core_impl.cc View 1 2 4 chunks +57 lines, -10 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 4 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cjhopman
8 years, 1 month ago (2012-11-14 01:12:40 UTC) #1
nilesh
http://codereview.chromium.org/11361252/diff/2001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): http://codereview.chromium.org/11361252/diff/2001/content/browser/android/content_view_core_impl.cc#newcode206 content/browser/android/content_view_core_impl.cc:206: content::NotificationService::AllBrowserContextsAndSources()); Is it possible to filter the notification by ...
8 years, 1 month ago (2012-11-14 19:23:18 UTC) #2
cjhopman
http://codereview.chromium.org/11361252/diff/2001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): http://codereview.chromium.org/11361252/diff/2001/content/browser/android/content_view_core_impl.cc#newcode206 content/browser/android/content_view_core_impl.cc:206: content::NotificationService::AllBrowserContextsAndSources()); On 2012/11/14 19:23:18, nileshagrawal1 wrote: > Is it ...
8 years, 1 month ago (2012-11-15 01:21:43 UTC) #3
nilesh
LGTM with a minor fix. http://codereview.chromium.org/11361252/diff/8001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): http://codereview.chromium.org/11361252/diff/8001/content/browser/android/content_view_core_impl.cc#newcode256 content/browser/android/content_view_core_impl.cc:256: web_contents_->getRenderViewHost()->GetProcess(); s/getRenderViewHost/GetRenderViewHost
8 years, 1 month ago (2012-11-15 02:01:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/11361252/1004
8 years, 1 month ago (2012-11-15 18:36:41 UTC) #5
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 20:26:44 UTC) #6
Change committed as 168007

Powered by Google App Engine
This is Rietveld 408576698