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

Issue 19803003: Introduce a delay before a high priority binding is unbound (reland). (Closed)

Created:
7 years, 5 months ago by ppi
Modified:
7 years, 5 months ago
Reviewers:
joth, klobag.chromium
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam
Visibility:
Public.

Description

Introduce a delay before a high priority binding is unbound (reland). This patch delays unbinding high priority connections for child services. This makes sure that the renderers are not killed immediately after they are unbound, which is neccessary to mitigate technical issues[1] with the way renderers are being bound and strengthens the mechanism against possible misbehavior of the system LRU process management. [1] For instance, a content view can be detached for a quick moment while the embedder displays a short-lived animation (e.g. opening a link in a background tab) - we definitely don't want the underlying renderer to die during that period. BUG=259576 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213512

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address Grace's remarks. #

Patch Set 3 : Fix a whitespace nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -49 lines) Patch
M base/android/java/src/org/chromium/base/ThreadUtils.java View 9 chunks +27 lines, -16 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java View 1 2 3 chunks +40 lines, -14 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java View 5 chunks +20 lines, -19 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ppi
Take two - could you guys please have another look? Compared to the previous patch, ...
7 years, 5 months ago (2013-07-19 13:27:12 UTC) #1
klobag.chromium
https://codereview.chromium.org/19803003/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java File content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java (right): https://codereview.chromium.org/19803003/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java#newcode365 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java:365: ThreadUtils.postOnUiThreadDelayed(new Runnable() { why need this? https://codereview.chromium.org/19803003/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java#newcode406 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java:406: if ...
7 years, 5 months ago (2013-07-19 16:19:54 UTC) #2
klobag.chromium
https://codereview.chromium.org/19803003/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java File content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java (right): https://codereview.chromium.org/19803003/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java#newcode365 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java:365: ThreadUtils.postOnUiThreadDelayed(new Runnable() { On 2013/07/19 16:19:55, klobag.chromium wrote: > ...
7 years, 5 months ago (2013-07-19 18:19:04 UTC) #3
ppi
Thanks, Grace! I have addressed your remarks in patch set 2. Could you guys have ...
7 years, 5 months ago (2013-07-22 13:50:38 UTC) #4
klobag.chromium
lgtm
7 years, 5 months ago (2013-07-22 18:19:06 UTC) #5
ppi
Thanks, Grace! Does this look good to you, Jonathan? I will need an OWNER approval ...
7 years, 5 months ago (2013-07-23 18:43:56 UTC) #6
joth
lgtm rubberstamp
7 years, 5 months ago (2013-07-23 18:56:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ppi@chromium.org/19803003/13001
7 years, 5 months ago (2013-07-24 18:22:16 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 20:49:59 UTC) #9
Message was sent while issue was closed.
Change committed as 213512

Powered by Google App Engine
This is Rietveld 408576698